Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Friday, July 28, 2017

Merge statement when not matched insert

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

No comments: