Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Concurrency INSERT record
Message
 
 
To
27/06/2008 06:50:29
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01327176
Message ID:
01327178
Views:
11
Make nSN an IDENTITY column.

>I have a table which contains fields called EmployeeID, nSN. While insert record, I need to get the max value of nSN of the particular employee in table, increase its value +1.
>
>I faced problem that, more than one record have same nSN value.
>How could I prevent this?
>
>Thank you
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform