Stproc.outParamCount() (Method)

Retrieves a count of the number of parameter values the stored procedure has returned.

Availability:

JavaScript - 1.2
Netscape Enterprise server - 3.0
Property/method value type:Number primitive
JavaScript syntax:NESmyStproc.outParamCount()

Calling stored procedures is not like a normal database select. Because the results of a stored procedure are not strictly the results of a simple select but have been cached and processed by the procedure, the database will not generally return them as a record but as a collection of parameters. This method tells you how many there are so you can enumerate them in your script.

See also:ResultSet.columns()