Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.52 KB

File metadata and controls

52 lines (39 loc) · 1.52 KB
title setNull Method (java.lang.String, 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
SQLServerCallableStatement.setNull (java.lang.String, int)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid e1d7e267-d9de-407a-b1a9-abdc2623478d
author David-Engel
ms.author v-daenge

setNull Method (java.lang.String, int)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public void setNull(java.lang.String sCol,  
                    int nType)  

Parameters

sCol

A String that contains the parameter name.

nType

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.CallableStatement interface.

See Also

setNull Method (SQLServerCallableStatement)
SQLServerCallableStatement Members
SQLServerCallableStatement Class