Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.33 KB

File metadata and controls

45 lines (33 loc) · 1.33 KB
title getPrecision Method (SQLServerResultSetMetaData)
description getPrecision Method (SQLServerResultSetMetaData)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerResultSetMetaData.getPrecision
apitype Assembly

getPrecision Method (SQLServerResultSetMetaData)

[!INCLUDEDriver_JDBC_Download]

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