SQLSetParamFloat() function
- Last UpdatedJun 17, 2024
- 1 minute read
The SQLSetParamFloat() function sets the value of a parameter to a 64-bit, signed, floating-point value.
Category
SQL
Syntax
SQLSetParamFloat(StatementID, ParameterNumber, Value);
Arguments
StatementID
Integer value that identifies a SQL statement within a query.
ParameterNumber
Integer value that identifies the parameter in the SQL statement identified by the StatementID argument.
Value
64-bit, signed, floating-point number to assign as the value of the specified parameter.
Example
This example sets the second parameter of the third SQL statement to -5.
SQLSetParamFloat(3, 2, -5);
See Also
SQLPrepareStatement()