August 1999
Intermediate to advanced
1488 pages
72h 53m
English
stproc.outParameters(num)
The outParameters() method of the Stproc object returns the output parameter from the stored procedure that is indexed at the num location. The return value of this method can be a string, number, double, or object. Be sure to call the outParamCount() method before calling this method to make sure parameters have been returned.
Note
Informix stored procedures do not have output parameters, so there is no need to run this method.
Listing 8.145 opens a connection to the database and runs a stored procedure. Based on the number of output parameters, the script writes the parameters to the user's screen.
<SERVER> ... |
Read now
Unlock full access