Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preserving auto incremental field in SQL Server
Message
 
To
27/02/2008 12:02:44
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
01296736
Message ID:
01297269
Views:
21
Michel,

You need to issue a

SET IDENTITY INSERT database.dbo.tablename ON

on the table to be updated then

SET IDENTITY INSERT database.dbo.tablename OFF

as only one table can have set identity insert on per transaction.
Woodie Westbrook
I came, I saw, I compiled.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform