SQLSetParamLong() function
- Last UpdatedJun 17, 2024
- 1 minute read
The SQLSetParamLong() function sets the value of a parameter to a 32-bit signed analog number.
Category
SQL
Syntax
SQLSetParamLong(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
32-bit signed analog number to assign as the value of the specified parameter.
Example
This example sets the third parameter of the first statement to 2.1e9.
SQLSetParamLong(1, 3, 2.1e9);
See Also
SQLPrepareStatement()