ORA-00911: invalid character Toad

馋奶兔 提交于 2019-12-01 09:22:00

When you run it as a statement (F9) you can't have multiple statements, and the semicolons are meaningless - as they are statement separators. (You get the same error with a semicolon in an execute immediate or JDBC call, for example, as they only support a single statement).

If you run as a script (F5) instead then those separators do have meaning, and the multiple statements that they, er, separate will be executed in sequence.

did you copy & paste these statements from somewhere else? sometimes copying statements is copied with invisible characters, this happend when copying between unix and windows for example, because the end line character in each OS is different.

rewrite these statements by hand could solve this problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!