title setNull Method (SQLServerPreparedStatement) | 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 SQLServerPreparedStatement.setNull apilocation sqljdbc.jar apitype Assembly ms.assetid 90dcd2f1-ad58-440c-8bf2-0f146fa727a3 author David-Engel ms.author v-daenge setNull Method (SQLServerPreparedStatement) [!INCLUDEDriver_JDBC_Download] Sets the designated parameter to a null value, given the type of parameter to set. Overload List Name Description setNull (int, int) Sets the designated parameter to a null value, given the type of parameter to set. setNull (int, int, java.lang.String) Sets the designated parameter to a null value, given the type and name of the parameter to set. See Also SQLServerPreparedStatement Members SQLServerPreparedStatement Class