--- title: "getLong Method (SQLServerCallableStatement) | 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: - "SQLServerCallableStatement.getLong" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: d6c1a8a4-5647-439f-87b8-310b6e9b778a author: David-Engel ms.author: v-daenge --- # getLong Method (SQLServerCallableStatement) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Retrieves the value of the designated parameter as a **long** in the Java programming language. ## Overload List |Name|Description| |----------|-----------------| |[getLong (int)](../../../connect/jdbc/reference/getlong-method-int.md)|Retrieves the value of the designated parameter as a **long** in the Java programming language given the parameter index.| |[getLong (java.lang.String)](../../../connect/jdbc/reference/getlong-method-java-lang-string.md)|Retrieves the value of the designated parameter as a **long** in the Java programming language given the parameter name.| ## See Also [SQLServerCallableStatement Members](../../../connect/jdbc/reference/sqlservercallablestatement-members.md) [SQLServerCallableStatement Class](../../../connect/jdbc/reference/sqlservercallablestatement-class.md)