Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00380000
Message ID:
00381603
Vues:
18
Marc:

For updates and inserts you pass as arguments the value in each field of the table your updating. In the stored procedure, you recieve these values as parameters which are then used in T-SQL code.

For selects and deletes, pass in a primary key.

I have created a framework of special data classes that automatically handle all the parameter passing and procedure calling. When I create my SQL Server database, I also create an update, insert, delete and select stored procedure for each table. On the fox side, the data classes handle the rest.

Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform