Sqlserver
 sql >> Base de Dados >  >> RDS >> Sqlserver

ROW_NUMBER() sem over no SQL

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