关键是准备好的语句中的sql语句会引用游标的当前位置,所以您可以多次执行它,并更新不同的行。
The key is that the SQL statement in the prepared statement references the current position of the cursor, so you can execute it multiple times and update different rows.
本地游标引用无明确释放。
然后,在用来填充目标表 SALES_TMP 的 LOAD 命令中引用此游标。
Then this cursor is referenced in a LOAD command for filling the destination table SALES_TMP.
应用推荐