SQL*Plus does not execute SQL scripts that SQL Developer does

后端 未结 2 571
小蘑菇
小蘑菇 2020-12-10 13:37

I am facing a very annoying problem. I have written (in Notepad++) some SQL scripts. Now when I try to execute them by SQL*Plus (through the command line, on Windows 7), I a

相关标签:
2条回答
  • Alternatively you can use "Ctrl F7" in sqldeveloper to format your script. I had a similar issue and tried removing blanks etc. but I was obviously missing something. Found the Ctrl F7 function and the script worked.

    0 讨论(0)
  • 2020-12-10 14:31

    Remove the empty lines.
    In sqlplus an empty line means stop previous statement and start a new one.

    or you can set blank lines:

    set sqlbl on
    
    0 讨论(0)
提交回复
热议问题