Reputation: 1
New to programming and SQL.
When I run a script within a SQL Plus command box window, the command window closes. How can I stop the script from closing the window automatically please?
First, I am logging into the DB host, then I run the script and I cannot tell what the output is, if it has errored, etc?
For example:
At this point, the sql plus window closes
Thanks Brian
Upvotes: 0
Views: 684
Reputation: 7265
To keep the window with sqlplus
open first run cmd
and then inside run sqlplus
. Because sqlplus
just close the window when it finish.
Upvotes: 1