sql >> Base de Datos >  >> RDS >> Sqlserver

ROW_NUMBER() sin sobre en SQL

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