【问题标题】:ORA-00900: invalid SQL statement using FlyWayORA-00900: 使用 FlyWay 的 SQL 语句无效
【发布时间】:2013-05-23 16:06:28
【问题描述】:

我收到此错误 “”2013-05-20 15:44:28,637 错误 [服务器启动] apachecommons.ApacheCommonsLog (ApacheCommonsLog.java:51) - com.googlecode.flyway.core.api.FlywayException: 第 6 行执行语句时出错: function bitor(p1 number, p2 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;

【问题讨论】:

  • 绝对是解析器中的一个错误。请提出问题。

标签: oracle flyway


【解决方案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;

【讨论】:

    猜你喜欢
    • 2010-12-29
    • 2011-07-17
    • 1970-01-01
    • 2019-10-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-01-21
    • 2017-05-12
    相关资源
    最近更新 更多