contents   index   previous   next



Stproc parameters()

syntax:

stproc.parameters()

return:

number - parameters in the Stproc.

 

description:

This method returns the number of named and unnamed parameters for the stored procedure or SQL statement.

 

see:

#link <sedbc>, Stproc parameterName()

 

example:

// create an array of parameter names

// for Stproc 'sp'

for( i=0; i<sp.parameters(); i++ )

    pNames[i] = sp.parameterName( i );

 


Stproc cursor()