int getScale(int column) throws SQLException
Gets the designated column's number of digits to right of the decimal point. 0 is returned for data types where the scale is not applicable.
the first column is 1, the second is 2, ...
Returns an integer which is the scale of the column as described above.
SQLException - if a database access error occurs, column is less than 1 or greater than the number of columns or the object has been closed.
For more information, reference JDBC documentation for: ResultSetMetaData.getScale(int)