Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.31 KB

File metadata and controls

51 lines (38 loc) · 1.31 KB
title setFloat Method (SQLServerPreparedStatement) | 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
SQLServerPreparedStatement.setFloat
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 870d0031-6871-4dc0-b03a-fb0a9ff6ab98
author David-Engel
ms.author v-daenge

setFloat Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given float value.

Syntax

  
public final void setFloat(int n,  
                           float x)  

Parameters

n

An int that indicates the parameter number.

x

A float value.

Exceptions

SQLServerException

Remarks

This setFloat method is specified by the setFloat method in the java.sql.PreparedStatement interface.

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class