Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.39 KB

File metadata and controls

47 lines (34 loc) · 1.39 KB
title setNull Method (java.lang.String, int)
description setNull Method (java.lang.String, int)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerCallableStatement.setNull (java.lang.String, int)
apitype Assembly

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