sqlplus hangs when running an SQL script [message #329514] |
Wed, 25 June 2008 11:17  |
nmaier
Messages: 4 Registered: May 2008
|
Junior Member |
|
|
Hi,
I am executing a 3MB sql script with SQLPlus. Using this command:
sqlplus db/pass@SN @oracleScript.oracle
Nearly all of it is writes to the database. It runs successfully for sometime printing multiple "PL/SQL procedure completed successfully" messages. And then it prints the number two on a new line and hangs, no SQLPlus prompt it just sits there doing nothing. Does that "2" mean something???
What logs can I check to see where it was at in the script when it hung or if there are any logs reporting errors?
Thanks for the help!
Nate
|
|
|
|
Re: sqlplus hangs when running an SQL script [message #329516 is a reply to message #329514] |
Wed, 25 June 2008 11:22   |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
You've forgotten either a trailing ';' or a '\' from a statement.
I can't actually remember which it is, which is irritating after so long spent fixing other peoples SQL scripts.
Debugging script bugs like you've got is the reason why you put PROMPT commands in your script - it lets' you know where you've got to.
|
|
|
|
|
|