getScale Method (SQLServerResultSetMetaData)
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för