SQL, C#, VB, .net, asp, JavaScript, you name it. Code samples, Error messages and stuff like that. Please add coments if you think I said something stupid :D or if you have a better idea ... or anything at all ...
Friday, December 15, 2017
SQL - update column with sequence number starting from 1
DECLARE @id INT;
SET @id = 0
UPDATE x SET @id = [ItemNo] = @id + 1
No comments:
Post a Comment