SQLEXEC
此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。
|
|
将 SQL(结构化查询语言)语句提交到数据库服务器,用于正在更新或插入记录。 有关数据库服务器的更多详情,请参阅 |
支持的脚本类型
|
|
|
|
|
|
|
|
|
通用 |
聊天 | 电话 | 語音邮件 | 工作项目 | 短信 |
输入属性
这些属性定义操作在执行时使用的数据。
|
属性 |
说明 |
|---|---|
|
添加说明文字 |
输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 |
|
SQL 语句 |
将提交到数据库服务器的 SQL 语句。 此语句不应返回记录。 |
|
获取身份变量 |
从插入项接收身份值的变量的名称。 只有当您正在插入的表包含身份列时,才可以使用此属性。 |
|
超时秒数 |
该操作在超时之前等待执行的秒数。 |
结果分支条件
结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。
|
条件 |
说明 |
|---|---|
|
默认 |
Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined. |
| OnError | Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem. |
| OnTimeout | Path taken if there is no response for the number of seconds specified. |