Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.54 KB

getscale-method-sqlserverparametermetadata.md

File metadata and controls

47 lines (34 loc) · 1.54 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
getScale Method (SQLServerParameterMetaData)
getScale Method (SQLServerParameterMetaData)
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerParameterMetaData.getScale
Assembly

getScale Method (SQLServerParameterMetaData)

[!INCLUDEDriver_JDBC_Download]

Retrieves the number of digits to the right of the decimal point for the designated parameter.

Syntax

  
public int getScale(int param)  

Parameters

param

An int that indicates parameter index.

Return Value

In int that indicates the scale of the designated parameter.

Exceptions

SQLServerException

Remarks

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

This method gets column digits to the right of the decimal point. For types that do not have a decimal point, this method returns "0".

See Also

SQLServerParameterMetaData Methods
SQLServerParameterMetaData Members
SQLServerParameterMetaData Class