Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.3 KB

File metadata and controls

51 lines (38 loc) · 1.3 KB
title setLong Method (SQLServerPreparedStatement) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerPreparedStatement.setLong
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 08223a62-6489-44e4-85e8-b45bfbb11cfc
author David-Engel
ms.author v-daenge

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