Oracle建立带参数的存储过程,出现错误
create or replace procedure pro3 (
tempno in scott.emp.empno%type,
name1 out scott.emp.ename%type,
job1 in out scott.emp.job%type
)
as
myjob scott.emp.job%type;
myname scott.emp.ename%type;
begin
select job into myjob from scott.emp where empno=tempno;
select ename into myname from scott.emp where empno=tempno;
name1:=myname;
job1:=myjob;
end;
结果提示以下错误
Compilation errors for PROCEDURE IDOYU.PRO3
Error: PLS-00201: 必须说明标识符 'SCOTT.EMP'
Line: 2
Text: tempno in scott.emp.empno%type,
Error: PL/SQL: Compilation unit analysis terminated
Line: 0
Text: create or replace procedure pro3 (
不懂是什么情况,请高手帮忙解答,感谢
原来如此,感谢
相关问答:
在执行包的时候引用oracle spatial空间函数出错,出错情况如下
Errors in file
/user/oracle/app/oracle/admin/grid/udump/grid1_ora_143768.trc: ORA-29902:
error in executing ODCIIndexStart() routine ORA-0 ......
在系统运行的时候总是有一块磁盘始终闪红灯,进入系统后
#topas查看总是有一块磁盘%BUSY为90%以上,
数据库版本:oracle 9.2.0.7
数据文件挂载的节点:/oradata/pcs/ 逻辑卷号lv04
#lslv -l lv04
......
oracle 11g 安装 01092 错误,
日志信息:
[oracle@linux trace]$ vi alert_orcl.log
MMON started with pid=14, OS id=9089
RESETLOGS after incomplete recovery UNTIL CHANGE 522752
Errors in file / ......
eclipse 3.3启动web工程,要连接oracle9i数据库报
严重: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:
ORA-12518, TNS:listener could not hand off cli ......