ORA01086: savepoint `string` never established

ora-01086 Oracle Error Reason and Solution
 It may be because you're executing it all as one batch.
The DBMS has to parse eveything at once, and create a plan
for it. At compile time there is no savepoint yet. Try
creating the savepoint in a first execute(), and then try the
rest in a second.
原文地址:https://www.cnblogs.com/truth/p/1759406.html