Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning a unique # on creation of a new record in a table
Message
De
07/11/2005 10:48:38
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Assigning a unique # on creation of a new record in a table
Divers
Thread ID:
01065988
Message ID:
01065988
Vues:
49
I am working with a SQL server database and I have multiple interfaces that can
add a record to the database. each interface has its own logic to assign the next unique # to my table. I am having a problem where the 2 interfaces send a new record to my SQL table at the same time I am getting duplicate sequence #'s in the table. I was trying to research how to move the numbering logic into SQL server as either a function, stored procedure or a trigger. Does anyone have any advice on which way I should look at ?

Thanks for you help !
Stephen J. Hunt
Admit Computer Services Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform