Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.56 KB

File metadata and controls

47 lines (34 loc) · 1.56 KB
title getDouble Method (java.lang.String) (SQLServerResultSet)
description getDouble Method (java.lang.String) (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 (java.lang.String)
apitype Assembly

getDouble Method (java.lang.String) (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public double getDouble(java.lang.String columnName)  

Parameters

columnName

A String that contains the column name.

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