Condividi tramite


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

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

public final void setNull(int paramIndex,
                          int sqlType,
                          java.lang.String typeName)

Parametri

paramIndex

An int that indicates the parameter number.

sqlType

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

typeName

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

Eccezioni

SQLServerException

Osservazioni

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

Vedere anche

Riferimento

SQLServerPreparedStatement Class

Concetti

setNull Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members