Home Forums SQL Server 2005 SQL Server 2005 General Discussion Selecting first duplicate record RE: Selecting first duplicate record
paul.vanhouse
SSC Enthusiast
Points: 151
More actions
July 2, 2010 at 10:15 am
#1188332
Still useful 2-years later! A couple of notes. If used in a longer queary the statement before WITH needs to end with a semi-colon (;). and the ROW_NUMBER statement needs open and closed parentheses after it ROW_NUMBER().:-)