Szerkesztés

Megosztás a következőn keresztül:


setNull Method (int, int)

Download JDBC driver

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

Syntax

  
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

setNull Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class