on 2021 Dec 16 8:12 AM
Hi all,
Please consider the following simple HANA stored procedure:
I want to create a procedure to execute this DDL statement in dynamic SQL.
ALTER SYSTEM DISCONNECT SESSION 'XXXXXX';<br>
If the session is running, it will terminate normally, but if the session terminates while the procedure is running, the error handling will not be handled correctly, and the process will drop in the middle when it is determined to be exception handling.
Is it possible to get correct error handling and have the procedure terminate normally instead of with an error?
I can't find any tips on exception handling for DDL statements and would like to know about it.
Thanks,
Request clarification before answering.
User | Count |
---|---|
90 | |
11 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.