ホーム > 技術 > SQLで連番を振る 2019/11/08 1から100まで連番を振るSQL [SQL Server] SELECT TOP (100)ROW_NUMBER() OVER (ORDER BY object_id) AS SEQNOFROM sys.all_objects [Oracle] SELECT ROWNUM AS SEQNOFROM ALL_OBJECTSWHERE ROWNUM <= 100 B! LINEへ送る - 技術 Oracle, SQL, SQL Server