Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return a character string from SQL 2000
Message
 
 
À
31/05/2002 13:33:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00663558
Message ID:
00663571
Vues:
15
>I have a store procedure that needs to return a character string. I have the string store in a local variable on SQL and I am running the stored procedure via SQLEXECUTE.
>
>What are my return options from SQL? Is there a way to catch a Print output from a Stored Procedure?
>
>Thank you in advance.

You can return cursor with one field or you can use output parameter
lcRetVal = ""
= SQLExec(lnHandle,"EXEC sp_name ?@lcRetVal")
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform