Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.68 KB

File metadata and controls

56 lines (43 loc) · 1.68 KB
title getFloat Method (java.lang.String) (SQLServerResultSet) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql-non-specified
ms.reviewer
ms.suite
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerResultSet.getFloat (java.lang.String)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 09491a8a-1931-411e-9b35-2b269c1b7f12
caps.latest.revision 9
author MightyPen
ms.author genemi
manager jhubbard

getFloat 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 float in the Java programming language.

Syntax

  
public float getFloat(java.lang.String columnName)  

Parameters

columnName

A String that contains the column name.

Return Value

A float value.

Exceptions

SQLServerException

Remarks

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

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

See Also

getFloat Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class