create or replace procedure loading_place (p_ornumber ORDER_LINE.order_no%TYPE ) as loading_count order_line.order_line_no %TYPE ; begin select oreder_line_no into loading_count from order_line where operation='loading' AND order_no=p_ornumber; exception when TOO_MANY_ROWS then dbms_output.put_line (' Each order has only 1 loading point.' ); end loading_place;
-----------------------------------------------------------------------------
ERROR at line 11: PL/SQL: SQL Statement ignored1. create or replace procedure loading_place
2.
3. (p_ornumber ORDER_LINE.order_no%TYPE )
我真的不懂\……
-----------------------------------------------------------------------------
ERROR at line 11: PL/SQL: SQL Statement ignored1. create or replace procedure loading_place
2.
3. (p_ornumber ORDER_LINE.order_no%TYPE )
我真的不懂\……
解决方案 »
- 声明了一个student type类型,但是如何用sql命令删除它呢?
- 怎么把SQL SERVER的数据库进行数据迁移到ORACLE?
- 求Oracle分页存储过程???
- 创建包出错,我真的找不到错在哪了!简单问题,50分
- 在linux中对oracle进行定时dmp ,如何按日期给生成的文件命名
- 请有经验的大侠指点:如何管理alert_*.log文件?
- 我在ASP中用ODBC连接ORACLE,表中有CLOB类型,只要是SELECT CLOB型数据,就出现如下错误,高手请进
- 如何用一条SQL语句实现根据A表的条件1的查询结果,得到A表条件2的一个累计,并放到同一列中
- 请教各位 哪有关于oracle sql语法的祥解 下载啊
- 热备份?
- 求解:数据导入出现的现象
- SQL语句定时执行 在线等待
合并成这样试试
create or replace procedure loading_place(p_ornumber ORDER_LINE.order_no%TYPE )
感觉你的代码段里有特殊字符....例如空格之类的
... order_line_no ...
loading_count order_line.order_line_no %TYPE ;执行部分
select oreder_line_no into loading_count多了个e的区别 自己去看看