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

public final void setNull(int index,
                          int jdbcType)

Parameters

index

An integer that indicates the parameter number.

jdbcType

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.PreparedStatement interface.

See Also