Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to retrieve a PK assigned to a table?
Message
De
03/08/2005 15:30:01
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01038224
Message ID:
01038268
Vues:
21
Do a SELECT @@IDENTITY statement to get last PK inserted into your SQL table.

>How do I get the PK value assigned by SQL Server right after adding a new record to a table? I tried to search UT but the search area is down. Thus, I am sorry for a very basic question, I am sure it was asked before.
>
>Thank you in advance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform