--- title: "getScale Method (SQLServerResultSetMetaData) | 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: - "SQLServerResultSetMetaData.getScale" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: fe29aa5f-4cc5-413f-8bbd-a58064993d87 author: David-Engel ms.author: v-daenge --- # getScale Method (SQLServerResultSetMetaData) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Gets the number of digits to the right of the decimal point for the designated column. ## Syntax ``` public int getScale(int column) ``` #### Parameters *column* An **int** that indicates the column index. ## Return Value An **int** that indicates the scale of the column. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This getScale method is specified by the getScale method in the java.sql.ResultSetMetaData interface. [!INCLUDE[msCoName](../../../includes/msconame_md.md)] [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] JDBC Driver 3.0 has behavior changes in the DECIMAL_DIGITS column. See [SQLServerDatabaseMetaData.getColumns](../../../connect/jdbc/reference/getcolumns-method-sqlserverdatabasemetadata.md) for more information. ## See Also [SQLServerResultSetMetaData Members](../../../connect/jdbc/reference/sqlserverresultsetmetadata-members.md) [SQLServerResultSetMetaData Class](../../../connect/jdbc/reference/sqlserverresultsetmetadata-class.md)