Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Oracle SP via SPT?
Message
De
13/09/1999 17:05:22
 
 
À
13/09/1999 16:22:34
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00264121
Message ID:
00264215
Vues:
18
I just did a search (should have done that prior to posting).

Anyway the way to use an Oracle SP from VFP is as follows:

SQLEXEC(connhandle,"{CALL sp_name(param)}")

>
>When I have problems with sql passthru to Oracle, I sometimes put the Oracle SQL syntax in a VFP memo field. Call the VFP memo field 'sql_code' for example.
>
>Then sqlexec(gnhandle,(sql_code))
>
>Good luck,
>
>Paul
>
>
>>Our DBA has asked that we call a stored procedure (SP)
>>prior to invoking any long quiries. The SP will capture
>>the time the program starts and stops.
>>
>>I am using VFP 6 and SQL passthru to execute my programs.
>>
>>When I try to use SQLEXEC(gnhandle,"EXECUTE sp_name('test')")
>>I get "invalid sql statement" back as an error.
>>
>>How can I call an Oracle 8 stored proc from VFP via
>>SQL passthru?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform