SQL> declare
2 v_person person_typ8;
3 begin
4 select deref(person) into v_person from employee_tab8 where eno=&&no;
5 dbms_output.put_line(v_person.get_info);
6 end;
7 /
原值 4: select deref(person) into v_person from employee_tab8 where eno=&&no;
新值 4: select deref(person) into v_person from employee_tab8 where eno=1;
姓名:玛丽,家庭住址:呼和浩特东城街11号PL/SQL 过程已成功完成。
请教高手指点。谢谢
2 v_person person_typ8;
3 begin
4 select deref(person) into v_person from employee_tab8 where eno=&&no;
5 dbms_output.put_line(v_person.get_info);
6 end;
7 /
原值 4: select deref(person) into v_person from employee_tab8 where eno=&&no;
新值 4: select deref(person) into v_person from employee_tab8 where eno=1;
姓名:玛丽,家庭住址:呼和浩特东城街11号PL/SQL 过程已成功完成。
请教高手指点。谢谢
解决方案 »
- rman的catalog tablespace删除了怎么办?
- 函数中插入数据出错
- SQL中使用distinct去除重复列遇到的问题
- 奇怪的表,有关Oracle table数据的问题,请教各位达人.
- 急救:Oracle存储过程验证一个记录是否存在怎么写
- 连接Oracle Io 异常: The Network Adapter could not establish the connection
- ORA-01031:
- oracle 10g透明网关问题
- 谁能告诉我一些关于oracle的英汉对应的文章
- Oracle 中一次执行多条语句
- 有关于oracle9i与tomcat端口冲突问题
- PROC预编译成功后,CC 时报的错,请高手看一下是什么问题?sunos5.9
select deref(person) into v_person from employee_tab8 where eno=&&no;
->
select deref(person) into v_person from employee_tab8 where eno=&no; 我记得是一个 & 是提示输入