Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Determine SQL ID
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01092510
Message ID:
01092517
Vues:
13
>If I have a header and line item table, and I want to insert a record into both,
>after the SQLEXEC command, how do I know the primary key of the header record to
>use in the detail record?

If you're refering to an IDENTITY column, check SCOPE_IDENTITY, and @@IDENTITY in BOL.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform