Edit

setNull Method (java.lang.String, int, java.lang.String)

Download JDBC driver

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

Syntax

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

Parameters

sCol

A String that contains the parameter name.

nType

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

sTypeName

A String that indicates the fully qualified name of the parameter that is being set.

Exceptions

SQLServerException

Remarks

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