Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to answer negative VFP attitude? Help...
Message
 
À
23/10/2000 11:04:03
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00427554
Message ID:
00433230
Vues:
19
John:

Here is a very simple example of an update SP on SQL Server. The data class (VFP client) will generate the field values as parameters and pass it into the SP as a comma delimited string.


CREATE PROCEDURE spUpdateSomeTable(
@primarykey_sometable int,
@field1 varchar(30),
@field2 char(5),
@field3 datetime)
AS
update SomeTable set
field1 = @field1,
field2 = @field2,
field3 = @field3
where primarykey_sometable = @primarykey_sometable

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

Click here to load this message in the networking platform