Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.67 KB

File metadata and controls

51 lines (38 loc) · 1.67 KB
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)

[!INCLUDEDriver_JDBC_Download]

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

Remarks

This getScale method is specified by the getScale method in the java.sql.ResultSetMetaData interface.

[!INCLUDEmsCoName] [!INCLUDEssNoVersion] JDBC Driver 3.0 has behavior changes in the DECIMAL_DIGITS column. See SQLServerDatabaseMetaData.getColumns for more information.

See Also

SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class