hi lly: 我在数据库上作了一个测试,和你的情况一样,好像只有存储过程才可以用exec ,你把你的fun_b做成存储过程procedure 再试一试
解决方案 »
- 安装oracle报错 ,Java Virtual Machine Launcher:Fatal exception occurred.Program .....
- 这样的in如何改 。有办法优化吗?谢谢额
- 使用ORACLE8快照功能,表空间增大太快
- 找出与给定坐标距离最小的点
- session失效时间相关问题请教
- oracle 安装时错误请教??急!!
- oracle7.3輿oralce9i能否互相建立db_link?
- 急问!!!!!来者有分!!!!!
- ora-12154無法解決服務名稱
- 安装Oracle for linux时出错?
- 三问存储过程中,临时表的建立问题?
- 我想查某一列中(vchar)包含' or " ,怎么查?
delcare
a number(10);
begin
a := pack_lly_test.fun_b(1.0);
end;
---------------------------------
begin
debug.print to_char(pack_lly_test.fun_b(1.0));
end;
---------------------------------
begin
if pack_lly_test.fun_b(1.0) > 1 then
...
end if;
end;
exec dbms_output.put_line(pack_lly_test.fun_b(1.0));
SQL > exec dbms_output.put_line(pack_lly_test.fun_b(1.0));
PL/SQL 过程已成功完成,但没有显示结果。 我想把结果显示出来,用什么办法呢?
SQL> declare a number :=0;
2 a := pack_lly_test.fun_b(1.0);
3 .......
下一步怎么做呢?
SET SERVEROUTPUT ON