ORA-00900:使用FlyWay的无效SQL语句

时间:2013-05-20 11:03:09

标签: oracle flyway

我收到此错误 “”2013-05-20 15:44:28,637错误[服务器启动] apachecommons.ApacheCommonsLog(ApacheCommonsLog.java:51) - com.googlecode.flyway.core.api.FlywayException:在第6行执行语句时出错:功能bitor(p1号码,p2号码)返回号码 “”2013-05-20 15:44:29,093错误[服务器启动] apachecommons.ApacheCommonsLog(ApacheCommonsLog.java:51) - 由java.sql.SQLException引起: ORA-00900:无效的SQL语句

我的.sql文件是

create or replace

package pkg_file_classification is
  procedure updateServerInnerFilesClass(in_server_id number);
  function bitor(p1 number, p2 number) return number;
end pkg_file_classification;

1 个答案:

答案 0 :(得分:1)

我刚删除了空行并通过了

create or replace package pkg_file_classification is
  procedure updateServerInnerFilesClass(in_server_id number);
  function bitor(p1 number, p2 number) return number;
end pkg_file_classification;