关键是准备好的语句中的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.
要利用此项功能,您需要按名称引用数据库游标,如清单6所示。
To utilize this functionality, you need to refer to the database cursor by name, as shown in Listing 6.
从一个引用昵称的游标装载数据。
然后,在LOAD命令中引用这个游标。
然后,在LOAD命令中引用这个游标。
应用推荐