Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql Server Sp with OUTPUT parameter returns zilch
Message
 
À
20/06/2006 05:56:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01130183
Message ID:
01130185
Vues:
15
>
>MyVar = Space(36)
>SQLExec(nsql,[Exec dbo.UpdateCreditorBatchNo 'D',?MyVar Output],'Temp')
>
>
>The Sp executes just fine in QA and returns a GUID.
>
>It also executes with a return value of 1 in VFP, but returns zilch.
>
>So, what am I doing wrong?
>
>TIA & BR

You must pass it by reference
MyVar = Space(36)
SQLExec(nsql,[Exec dbo.UpdateCreditorBatchNo 'D',?@MyVar Output],'Temp')
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform