SQLClearParam() 函数
- Last UpdatedSep 24, 2024
- 1 minute read
SQLClearParam() 函数清除所指定的参数的值。在调用 SQLExecute() 函数以运行查询之前,必须再次调用 SQLSetParam()xxx() 函数中的一个以重新加载参数。
类别
SQL
语法
[ResultCode=]SQLClearParam(StatementID,ParameterNumber);
参数
StatementID
SQLPrepareStatement() 函数运行时返回的整数值。
ParameterNumber
ParameterNumber 参数确定 SQL 语句中要修改的实际参数。将与 StatementID 关联的 ParameterNumber 的值设置为零或零长字符串,具体取决于该参数是数值还是字符串。
另请参阅
SQLPrepareStatement()、SQLExecute()