| title | setLong Method (SQLServerPreparedStatement) |
|---|---|
| description | setLong Method (SQLServerPreparedStatement) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerPreparedStatement.setLong |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Sets the designated parameter to the given long value.
public final void setLong(int n,
long x)
n
An int that indicates the parameter number.
x
A long value.
This setLong method is specified by the setLong method in the java.sql.PreparedStatement interface.
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class