Dynamic Mearge statement in SQL sever

Kothapalli Srinivasarao 131 Reputation points
2022-05-16T14:25:55.35+00:00

if possible to write dynamic merge statement in SQL severe for multiple tables to perform incremental load

Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,554 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bert Zhou-msft 3,421 Reputation points
    2022-05-17T01:38:11.56+00:00

    Hi,@Anonymous

    Welcome to Microsoft T-SQL Q&A Forum!

    It's certainly possible , when people encounter a report that some data is missing from a database table , they often wonder if they can insert through merge , which was implemented many years ago , please refer to article1 and article2 , it will help you .

    Best regards,
    Bert Zhou


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments