Spaghetti Tom
Friday, March 8, 2013
insert into numeric primary key column in MSSQL
SET IDENTITY_INSERT [dbo].[MyTable] ON
should allow you to insert into an auto incrementing numeric key field and you could turn this ability (dangerous) back off with something like
SET IDENTITY_INSERT [dbo].[MyTable] OFF
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment