SyntaxFix
Write A Post
Hire A Developer
Questions
You can try :
DECLARE @counter int SET @counter = 0 UPDATE [table] SET [column] = @counter, @counter = @counter + 1```