SQLSetParamTime() function
- Last UpdatedJun 17, 2024
- 1 minute read
The SQLSetParamTime() function sets the value of the specified time parameter to a specified string.
Category
SQL
Syntax
SQLSetParamTime(StatementID, ParameterNumber, Value)
Arguments
StatementID
Integer value that identifies a SQL statement within a query.
ParameterNumber
Actual parameter number in the SQL statement identified by the StatementID argument.
Value
Actual value to set. Set the parameter specified by the ParameterNumber argument to a time value. The current date from the computer running the function is included with the specified time.
Example
This example sets the second parameter from the fourth SQL statement to 10:00 AM.
ResultCode=SQLSetParamTime(1, 3, "10:00:00 AM");
See Also
SQLPrepareStatement()