Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.5 KB

File metadata and controls

47 lines (34 loc) · 1.5 KB
title getDouble Method (int) (SQLServerResultSet)
description getDouble Method (int) (SQLServerResultSet)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerResultSet.getDouble (int)
apitype Assembly

getDouble Method (int) (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Retrieves the value of the designated column index in the current row of this SQLServerResultSet object as a double in the Java programming language.

Syntax

  
public double getDouble(int columnIndex)  

Parameters

columnIndex

An int that indicates the column index.

Return Value

A double value.

Exceptions

SQLServerException

Remarks

This getDouble method is specified by the getDouble method in the java.sql.ResultSet interface.

This method returns all number-based data types with Java double fidelity.

See Also

getDouble Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class