SQLSetParamDateTime() 函数
- Last UpdatedSep 24, 2024
- 1 minute read
SQLSetParamDateTime() 函数将参数的值设置为指定的日期与时间。
类别
SQL
语法
SQLSetParamDateTime(StatementID, ParameterNumber, Value, Precision);
参数
StatementID
确定查询中的 SQL 语句的整数值。
ParameterNumber
整数值,用于确定 StatementID 参数所确定的 SQL 语句中的参数。
值
指定给 ParameterNumber 参数所确定的参数的日期与时间。
精度
整数,用于指定日期时间值的字符数,此日期时间值指定为参数的值。
另请参阅
SQLPrepareStatement()