Share via


setNull Method (java.lang.String, int)

Sets the designated parameter to a null value, given the type of parameter to set.

Syntax

public void setNull(java.lang.String sCol,
                    int nType)

Parameters

sCol

A String that contains the parameter name.

nType

A JDBC type code that is defined by java.sql.Types.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerCallableStatement Class

Concepts

setNull Method (SQLServerCallableStatement)

SQLServerCallableStatement Members