Registers the OUT parameter in the specified ordinal position to the given JDBC type and scale.

public void registerOutParameter(int index,
                                 int sqlType,
                                 int scale)

Parameters

index

An integer that indicates the ordinal position of the parameter.

sqlType

A JDBC type code as defined in java.sql.Types.

scale

An integer that indicates the number of digits to be placed to the right of the decimal point.

Exceptions

SQLServerException

Remarks

This registerOutParameter method is specified by the registerOutParameter method in the java.sql.CallableStatement interface.

See Also