Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Pairwise Comparison in update statement like Oracle in SQL Server

$
0
0
Hi I would like to know what can be the equivalent update command in SQL server?
Code:

update Table1 set EndFlag = 1
  where (c1,c2) in (select c1, MAX(c2) from Table1 group by c1)


Viewing all articles
Browse latest Browse all 13329

Trending Articles