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

AVEVA™ InTouch HMI

SQLAppendStatement() 函数

  • Last UpdatedSep 24, 2024
  • 1 minute read

SQLAppendStatement() 函数使用字符串的内容来追加 SQL 语句。返回值指出在函数调用过程中是否发生了错误。

InTouch 标记可以支持的最大字符串长度是 131 个字符。通常使用 SQLAppendStatement() 函数将附加的字符串串联到语句。

类别

SQL

语法

[ResultCode=]SQLAppendStatement(ConnectionID, "SQLStatement");

参数

ConnectionID

内存整型标记的名称,用于存放 SQLConnect() 函数指定给每个数据库连接的编号 (ID)。

SQLStatement

要追加的实际语句。

示例

ResultCode=SQLAppendStatement(ConnectionID, "where tablename.columnname=TR-773-01");

另请参阅

SQLConnect()、SQLClearStatement()

In This Topic