DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
create row number in sql
SELECT t.A, t.B, t.C, ROW_NUMBER() OVER (ORDER BY t.A) as newId FROM dbo.tableZ AS t ORDER BY t.A;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#create
#row
#number
#sql
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit