1. 首页
  2. 文档
  3. Batch execution of SQL statements

白皮书下载

实在智能Agent产品白皮书(7.2.0).pdf

Batch execution of SQL statements

发刊日期:
2021/10/15

编辑团队:
实在学院

Function description

  Execute SQL statements in batch in the target database and return the number of affected rows. It needs to be used in combination with the database connection component.

instructions

  After adding a batch execution SQL statement component to the visual editing area, you can set the attribute & ldquo; Output to variable & rdquo; Set the output content variable parameter in & ldquo; Target database object & rdquo; Enter the variable name of the database object in & ldquo; SQL statement & rdquo; Enter the SQL statement to be executed in & ldquo; SQL statement parameters & rdquo; Enter the parameter value in. After setting the attribute value, it runs successfully. Print the returned value to get the execution result.  if属性  

  if属性

Attribute description

  • Target database object: the previously opened database link.
  • SQL statement: SQL statement format

  if属性

  Without parameters

  if属性

  With parameters

  if属性

  • SQL statement parameters: SQL statement parameters. Single execution: ['4 ',' Zhao Yun '], multiple execution: ['5', 'Huang Zhong'], ['6 ',' Ma Chao '], ['7', 'Wei Yan']]
  • Output to: output to the variable.

Code description

  • Code example 

  if属性

  • Parameter description

  if属性

  • Return value description

  if属性

企业培训
技术支持
加入社群
公众号
实在智能Agent学习群
扫码关注微信公众号