Home Forums SQL Server 2008 SQL Server 2008 - General Copy results, update a few fields, reinsert RE: Copy results, update a few fields, reinsert
Matthew Cushing
SSCrazy
Points: 2898
More actions
August 30, 2012 at 11:57 am
#1532049
Going to give it a try now, but I'm unsure what this does:
ROW_NUMBER() OVER( ORDER BY position_id) + @new_position_id - 1