Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 (SP3) AND SQL 6.5
Message
 
À
24/10/2000 05:02:11
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, Afrique du Sud
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00433349
Message ID:
00433594
Vues:
18
If you are trying to pass parameters back rather than a cursor you need to use the 'CALL' syntax.

stringvar=' '
iRetVal=0
iResult=SQLEXEC(ConnectionHandle,'{CALL StoredProc (?stringvar, ?@iRetval)}')

This is passing 2 variables to the stored procedure and the second variable (iRetVal) is returned. This variable within the stored procedure must be an 'Out' type variable.

HTH,
George


>HI ALL
>
>Can anyone please tell me how to called a stored procedure from sql 6.5 server from VFP?
>
>
>Thanks
>Fida
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform