Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting SQL Server stored proc return value
Message
De
07/12/2003 16:04:20
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
05/12/2003 14:31:54
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00856398
Message ID:
00856721
Vues:
26
Hi

? SQLEXEC(nConnection,[select * from MyProc])

doesn't work?

>Hi,
>Does anyone know how to get a return value from a SQL Server stored proc? For example, if I have a line of code "RETURN 123" in the proc, how do I receive that? The proc doesn't take an output parameter, just returns a number.
>
>? SQLEXEC(nConnection,[exec MyProc]) && Returns a 1 showing that the call didn't have an error
>
>Thanks.
>
>Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform