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 )
我真的不懂\……
解决方案 »
- 现在求助 ORA-01461: can bind a LONG value only for insert into a LONG column
- oracle存储过程动态条件以及游标问题。
- 向Oracle高手请教
- *********怎么把十进制转换为二进制呢?*********
- 大家给我解释解释这select语句中 /*+ first_row */是什么意思!!!!!!
- 怎么建表
- Sqlserver2000中的SQL语句左外连接如何转化为ORACLE中的SQL语句?
- 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的区别 自己去看看