Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.18 KB

setlong-method-sqlserverpreparedstatement.md

File metadata and controls

46 lines (33 loc) · 1.18 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
setLong Method (SQLServerPreparedStatement)
setLong Method (SQLServerPreparedStatement)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerPreparedStatement.setLong
Assembly

setLong Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given long value.

Syntax

  
public final void setLong(int n,  
                          long x)  

Parameters

n

An int that indicates the parameter number.

x

A long value.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class