您的位置:首页 > 编程语言 > PHP开发

dbms_output.put_line的小例子

2012-11-12 17:49 197 查看
开始

set serveroutput on
define p_annual=6000

declare
v_sal number(7,2):=&p_annual;
begin
v_sal := v_sal/12;
dbms_output.put_line('the monthly salary is ' || v_sal);
end;


script output 窗口可以看出:

anonymous block completed
the monthly salary is 500


结束
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: