Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.44 KB

setnull-method-java-lang-string-int.md

File metadata and controls

47 lines (34 loc) · 1.44 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
setNull Method (java.lang.String, int)
setNull Method (java.lang.String, int)
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerCallableStatement.setNull (java.lang.String, int)
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