SP2-0042: 未知命令"xxxx" -- 其余行忽略这种错误

 

https://forums.oracle.com/forums/thread.jspa?threadID=417436 

I had the same problem. My issue was caused because the script file was saved as unicode. I don't know if this will help you or not, but here is how I fixed it:

Edit the script with notepad. Click File -> Save As. Change type from Unicode (or whatever) to ANSI, and save.

 

Hi,
I have the same issue. My scripts have unicode format and they contain unicode content (cyrillic letters, russian language). Has somebody have an idea how to solve this without converting the unicode file to ascii?
Thanks and regards, Stefan
 
Thanks for the unicode tip. It seems VS .NET 2005 saves scripts as Unicode - codepag 1200. Save As Windows codepage 1252 fixed our problem.

 

你可能感兴趣的:(Oracle)