Επεξεργασία

Κοινή χρήση μέσω


getScale Method (SQLServerResultSetMetaData)

Download JDBC driver

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.

Microsoft SQL Server JDBC Driver 3.0 has behavior changes in the DECIMAL_DIGITS column. See SQLServerDatabaseMetaData.getColumns for more information.

See Also

SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class