Sqlserver
 sql >> Datenbank >  >> RDS >> Sqlserver

ROW_NUMBER() ohne over in SQL

select ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) as number from Task order by RuleId