Used to explicitly register the sql type of out parameters for the specified callable statement object.
Syntax
registerOutParameter( callablestatement , index , sqltype )
callablestatement.registerOutParameter( index , sqltype )
registerOutParameter( callablestatement , index , sqltype , scale )
callablestatement.registerOutParameter( index , sqltype , scale )
Parameters
callablestatement
|
the callable statement object to use.
|
index
|
the index of the parameter.
|
sqltype
|
the parameter's sql data type.
|
scale
|
the number of digits to the right of the decimal point.
|
Returns
Example
cs.registerOutParameter( 1, _SQLTYPES_VARCHAR( ) )
|