Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.23 KB

File metadata and controls

47 lines (34 loc) · 1.23 KB
title setLong Method (SQLServerCallableStatement)
description setLong Method (SQLServerCallableStatement)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerCallableStatement.setLong
apitype Assembly

setLong Method (SQLServerCallableStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given long value.

Syntax

  
public void setLong(java.lang.String sCol,  
                    long l)  

Parameters

sCol

A String that contains the parameter name.

l

A long value.

Exceptions

SQLServerException

Remarks

This setLong method is specified by the setLong method in the java.sql.CallableStatement interface.

See Also

SQLServerCallableStatement Members
SQLServerCallableStatement Class