It's not that hard in SQL Server 2000 either.Give this a tryCREATE TABLE #Sample ( ID INT IDENTITY(1, 2) PRIMARY KEY CLUSTERED, Dummy INT NOT NULL )INSERT #SampleSELECT 1SELECT SCOPE_IDENTITY() - IDENT_INCR('#Sample') * (@@ROWCOUNT - 1) AS FirstID, SCOPE_IDENTITY() AS LastID, IDENT_INCR('#Sample') AS IncrementINSERT #SampleSELECT 2 UNION ALLSELECT 3 UNION ALLSELECT 4 SELECT SCOPE_IDENTITY() - IDENT_INCR('#Sample') * (@@ROWCOUNT - 1) AS FirstID, SCOPE_IDENTITY() AS LastID, IDENT_INCR('#Sample') AS IncrementINSERT #SampleSELECT 5 UNION ALLSELECT 6 UNION ALLSELECT 7 UNION ALLSELECT 8 UNION ALLSELECT 9 SELECT SCOPE_IDENTITY() - IDENT_INCR('#Sample') * (@@ROWCOUNT - 1) AS FirstID, SCOPE_IDENTITY() AS LastID, IDENT_INCR('#Sample') AS IncrementDROP TABLE #Sample
N 56°04'39.26"E 12°55'05.63"