Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 1.9 KB

File metadata and controls

65 lines (50 loc) · 1.9 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 drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerCallableStatement.setNull (java.lang.String, int, java.lang.String)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 16ff77f9-7928-415c-abf6-97ed59e3e396
caps.latest.revision 9
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

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