SQLServerCentral » Latest topics
Merge statement when not matched insert
I am using merge statement to update and insert records to a target table.
My question is when I use when not matched (by target) , can I add additional conditions?
For example
MERGE INTO TargetTable T
USING (select .. from table
My question is when I use when not matched (by target) , can I add additional conditions?
For example
MERGE INTO TargetTable T
USING (select .. from table
No comments:
Post a Comment