Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.65 KB

File metadata and controls

52 lines (39 loc) · 1.65 KB
title getFloat Method (java.lang.String) (SQLServerResultSet) | 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
SQLServerResultSet.getFloat (java.lang.String)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 09491a8a-1931-411e-9b35-2b269c1b7f12
author David-Engel
ms.author v-daenge

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