Information générale
Titre:
Capturing a return value from an Oracle Function?
I am using SQL passthru that needs to make a call to an
Oracle function. The Oracle function will return a value (number
let's say 15).
So I need to make the SQL passthru do something like
this:
lnOk = SQLEXEC(gnhandle,"{call OracleFunction()}")
The problem is that lnOk contains the result of the
SQLEXEC. That is -1 if a problem, 0 is running and
1 if it was successful. I need the 15 or whatever
it is on the next call instead of the -1, 0 or 1.
Can I capture the value of '15' from the Oracle function?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement