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

AVEVA™ InTouch HMI

SQLPrepareStatement() 函数

  • Last UpdatedSep 24, 2024
  • 1 minute read

SQLPrepareStatement() 函数预备要运行的 SQL 语句。它不运行该语句,而只是激活该语句以便设置参数值。

类别

SQL

语法

SQLPrepareStatement(ConnectionId, StatementID)

参数

ConnectionID

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

附注

预备缺省语句,并返回 StatementID(1、2、3 等)。对于需要使用 SQLSetParam{Type} 函数来设置参数的语句,这个预备操作非常有用。

In This Topic
Related Links