Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Row Number is sql server

ROW_NUMBER() OVER (ORDER BY 'Column_Name' DESC) as ROW_NUMBER


select ROW_NUMBER() OVER(PARTITION BY WorkOrderID ORDER BY WorkOrderID ASC) 
    AS Row#, * from TableName
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Row #Number #sql #server
ADD COMMENT
Topic
Name
9+7 =