Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.76 KB

File metadata and controls

57 lines (42 loc) · 1.76 KB
title setNull Method (java.lang.String, int, java.lang.String) | 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, java.lang.String)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 16ff77f9-7928-415c-abf6-97ed59e3e396
author David-Engel
ms.author v-daenge

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

[!INCLUDEDriver_JDBC_Download]

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

Syntax

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

Parameters

sCol

A String contthat contains aining the parameter name.

nType

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

sTypeName

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

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