Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.45 KB

File metadata and controls

50 lines (38 loc) · 1.45 KB
title getPrecision Method (SQLServerResultSetMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerResultSetMetaData.getPrecision
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid de46c96e-6ad6-4946-883e-807123658500
author David-Engel
ms.author v-daenge

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