Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reset @@identity
Message
From
21/06/2001 12:52:27
 
 
To
21/06/2001 10:15:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00521874
Message ID:
00522015
Views:
16
>>Hello, All
>>
>>In development mode, using a MSDE database, I've done tests, including inserting the records in tables with @@identity field.
>>
>>Now it's time to send the database to the customer. How can I reset those fields back to 0? At this moment, I don't have any records in my tables, but if I insert a new record, the @@identity field will have the value starting from my tests.
>>
>>Thank you.
>
>Remove all of the test rows with TRUNCATE TABLE mytablename and the identity fields should start with the default seed value again. HTH

Thansk you very much. This is exactly what I need. Three stars :)
Grigore Dolghin
Class Software.
Previous
Reply
Map
View

Click here to load this message in the networking platform