0

我收到此错误“”2013-05-20 15:44:28,637 ERROR [Server Startup] apachecommons.ApacheCommonsLog (ApacheCommonsLog.java:51) - com.googlecode.flyway.core.api.FlywayException: Error execution statement at line 6 : function bitor(p1 number, p2 number) return number ""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;
4

1 回答 1

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;
于 2013-05-21T12:38:44.210 回答