Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From VFP auto incremental key to SQL Server
Message
From
15/10/2006 23:02:23
 
 
To
15/10/2006 22:54:44
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
01162137
Message ID:
01162141
Views:
17
This message has been marked as the solution to the initial question of the thread.
Michel,

In the table designer, if you look at the column properties, you'll see an item called 'Identity specification', and underneath that, you'll see an item called Is Identity. Set that to true.....

Also, immediately after an insert, if you want to know the value of the new identity column, you can say....

SELECT SCOPE_IDENTITY()

hope that helps...
Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform