Quantcast
Viewing all articles
Browse latest Browse all 25

Merge statement with TOP clause - SQL Server

A week ago, I posted for Insert, Update and Delete statement with TOP clause and Merge statement as individual post. If you not read those posts then read it before to move next. In this posts I used TOP clause with DML operations and Merge statement but both are individual posts. Let me put these two posts together here and create new one.

What is it ?

It is nothing but the form of two individual posts and it is Merge statement with TOP clause.  I never used Merge statement and TOP clause at once. Let me create required objects for this demo or we can pick from earlier post,

Continue Reading...


Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 25

Trending Articles