Why setting current identity value is not working for me in SQL Server 2008 R2?
问题 I am working with SQL Server 2008 R2. I have a table seq_audit which has an identity column. This is the definition of the table: CREATE TABLE [dbo].[seq_audit] ( [id] [bigint] IDENTITY(1,1) NOT NULL, [value] [bit] NULL, PRIMARY KEY CLUSTERED ([id] ASC) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY] ) ON [PRIMARY] The table is empty and never has had any rows in it before. To check its