SQLSetParamDateTime() function
- Last UpdatedJun 17, 2024
- 1 minute read
The SQLSetParamDateTime() function sets the value of a parameter to a specified date and time.
Category
SQL
Syntax
SQLSetParamDateTime(StatementID, ParameterNumber, Value, Precision);
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
Date and time to assign to the parameter identified by the ParameterNumber argument.
Precision
Integer that specifies the number of characters of the date-time value assigned as the value of the parameter.
See Also
SQLPrepareStatement()