Share via


setNull Method (int, int)

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 int 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

Reference

SQLServerPreparedStatement Class

Concepts

setNull Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members