Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.22 KB

File metadata and controls

47 lines (34 loc) · 1.22 KB
title setLong Method (SQLServerPreparedStatement)
description setLong Method (SQLServerPreparedStatement)
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 SQLServerPreparedStatement.setLong
apitype 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