Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resetting an identity in SQL Server
Message
From
27/11/1998 14:36:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Resetting an identity in SQL Server
Miscellaneous
Thread ID:
00162000
Message ID:
00162000
Views:
57
One of our script to create the tables in SQL Server is defining the primary key field with IDENTITY. Then, there is another script which is populating the data into those tables. On the first run, it's ok as the primary key value starts from 1. On the second run, after we haved issued DELETE FROM CT_PRIORITY, the primary key is not starting from 1. Where do we have to go to reset that value?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform