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

AVEVA™ InTouch HMI

SQLClearTable() 函数

  • Last UpdatedSep 24, 2024
  • 1 minute read

SQLClearTable() 函数从表中删除所有的记录。它不从数据库中删除表。

类别

SQL

语法

[ResultCode=]SQLClearTable(ConnectionID, "TableName");

参数

ConnectionID

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

TableName

要清除其所有记录的表的名称。

示例

在下例中 SQLClearTable() 函数从 BATCH1 表中清除所有的记录。

ResultCode=SQLClearTable(ConnectionID,"BATCH1");

另请参阅

SQLConnect()、SQLClearStatement()

In This Topic