| title | setNull Method (int, int) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | 7e7f08e9-278a-495a-8ce3-ca173d055021 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Sets the designated parameter to a null value, given the type of parameter to set.
public final void setNull(int index,
int jdbcType)
index
An int that indicates the parameter number.
jdbcType
A JDBC type code that is defined by java.sql.Types.
This setNull method is specified by the setNull method in the java.sql.PreparedStatement interface.
setNull Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class