Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

SQLSetParamInt() 函数

  • Last UpdatedSep 24, 2024
  • 1 minute read

SQLSetParamInt() 函数将参数的值设置为 16 位有符号的整数。

类别

SQL

语法

SQLSetParamInt(StatementID, ParameterNumber, Value);

参数

StatementID

确定查询中的 SQL 语句的整数值。

ParameterNumber

整数值,用于确定 StatementID 参数所确定的 SQL 语句中的参数。

16 位带符号整数,要指定为所指定的参数的值。

示例

本例将第三条 SQL 语句的第二个参数设置为 -5。

SQLSetParamInt(3, 2, -5);

另请参阅

SQLPrepareStatement()

In This Topic
Related Links