Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correct way to call DBC stored procedure
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00523854
Message ID:
00524331
Vues:
22
Mark,

In a situation where both parent and child records are being added in the same process it is necessary to know the parent’s primary key into order to add the child records. I use the same approach when updating SQL Server and Oracle data. I call a stored procedure using SQLExec() to retrieve the next available ID. Default values work great if your adding or appending multiple records but I prefer to handle adding primary id’s in my business classes in a order-entry environment.

Will

BTW, how do I setup my account to copy the original message into my reply?
Heavy Metal Pedal - click with care
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform