Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Find Duplicate Records in Table and Update one of them.

$
0
0
Trying to figure a way to update the 2nd of 2 Duplicate RecordsREQUESTID OTHERSYSTEMID 951 454215 952 454215I would like to first search for all duplicate OTHERSYSTEMID'S in the table and then append '_D' to the end of the 2nd Duplicate Record for All duplicates found.ie. REQUESTID OTHERSYSTEMID 951 454215 952 454215_D

Viewing all articles
Browse latest Browse all 3145

Trending Articles