Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Concurrency INSERT record
Message
De
27/06/2008 06:50:29
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Concurrency INSERT record
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01327176
Message ID:
01327176
Vues:
68
Hi,
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
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform