Thread: Update From
View Single Post
  #13 (permalink)  
Old 08-28-08, 14:26
dportas dportas is offline
Registered User
 
Join Date: Dec 2007
Location: London, UK
Posts: 732
Quote:
Originally Posted by georgev
I'm mainly a Microsoft SQL Server user so my guess is that, as of version 2005, MERGE is the answer?
What about previous versions?
MERGE is the answer as from SQL Server 2008. It ought to make the atrocious and flawed UPDATE ... FROM obsolete. True, MERGE has a lousy syntax but it avoids the problems of Microsoft's UPDATE and in many cases MERGE is more efficient than the equivalent UPDATE ... FROM.
Reply With Quote