【发布时间】:2015-12-13 22:37:42
【问题描述】:
我正在执行来自 SQL Developer 的脚本文件 (c:\sqlfiles\Test.sql)。文件包含以下语句
@@test1.sql;
@@test2.sql;
@@test3.sql;
所有这些 sql 文件都包含函数或过程。
但问题是在运行命令 @c:\sqlfiles\Test.sql 时我低于 ERROR 。怎么清除?
Error starting at line 1 in command:

Error report:
Unknown Command
FUNCTION test1 compiled
FUNCTION test2 compiled
FUNCTION test3 compiled
【问题讨论】:
-
这听起来好像您的 SQL 脚本保存为带有 BOM 标头 (en.wikipedia.org/wiki/Byte_order_mark) 的 UTF。 SQL*Plus 不支持这一点,错误消息听起来好像 SQL Developer 也不支持。尝试在没有 BOM 的情况下保存文件
标签: oracle plsql oracle-sqldeveloper sql-scripts