getPrecision Method (SQLServerResultSetMetaData)

Download JDBC driver

Get the designated column's number of decimal digits.

Syntax

  
public int getPrecision(int column)  

Parameters

column

An int that indicates the column index.

Return Value

An int that indicates the precision of the column.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class