Sign up to request clarification or add additional context in comments.
Comments
1
INSERT T DEFAULT VALUES
Or to insert multiple rows (up to 2048 at a time using the spt_values table)
SET IDENTITY_INSERT t ON
INSERT INTO t (id)
SELECT Number + COALESCE(IDENT_CURRENT('t'),0) + 1
FROM master.dbo.spt_values
where type='p' and number < 2048
SET IDENTITY_INSERT t OFF