Quantcast
Channel: Juan – www.myw0.com
Viewing all articles
Browse latest Browse all 34

Update consecutive numbering with UPDATE statement – MSSQL

$
0
0
I want to update a table with consecutive numbering starting at 1. The update has a where clause so only results that meet the clause will be renumbered. Can I accomplish this efficiently without using a temp table?

Viewing all articles
Browse latest Browse all 34

Trending Articles