"set noexec on" on is used after "set showplan on" on Sybase ASE to show the query optimizer plan, but to avoid running the query itself (as it may need too much time).
This did work in former versions of Aqua Data Studio, but now executing "set noexec on" simply closes the connection, which of course prevents from actually executing the query to see the query optimizer plan returned by Sybase ASE.
Trying to execute it simply gives the following error message:
No operations allowed after connection closed. You can enable auto-reconnect in "File->Options->General->Query Windows->Auto-reconnect on execution if connection is closed"
Auto-reconnect of course is useless here, as re-opening the connection will reset the noexec-option.
ADS version: 18.0.7
Sybase ASE version: 15.7
Server Properteis in ADS: "Sybase ASE 11/12/15/16"
|
86 KB
Hi Horst,
Can you execute the showplan and noexec on the same line like:
Hi Tom,
I tried that, but the connection was closed after "set showplan, noexec on".
Hi Tom,
I tried that, but the connection was closed after "set showplan, noexec on".
Hi Horst,
Try highlighting and executing all of the statements at once as the attached screenshot shows.
Hi Horst,
Try highlighting and executing all of the statements at once as the attached screenshot shows.
Hello Tom,
I can confirm this solves the problem (for me).
Might still be irritating for other users if you don't know this trick.
Thanks!
Regards,
Horst
Hello Tom,
I can confirm this solves the problem (for me).
Might still be irritating for other users if you don't know this trick.
Thanks!
Regards,
Horst
Hi Horst,
I will mark this issue as resolved.
Thanks for getting back to me,
Tom
Hi Horst,
I will mark this issue as resolved.
Thanks for getting back to me,
Tom
Issue #15488 |
Resolved |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
Hi Horst,
Can you execute the showplan and noexec on the same line like: