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)

Parámetros

index

An int that indicates the parameter number.

jdbcType

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

Excepciones

SQLServerException

Notas

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

Vea también

Referencia

SQLServerPreparedStatement Class

Conceptos

setNull Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members