v_sal number(5) := 6000; begin --if you could not see the output in console, you should set output on first use the command in command line : set serveroutput on dbms_output.put_line(v_sal); end; Oracle PLSQL Demo - 01.定义变量、打印信息标签: 本文系统来源:http://www.cnblogs.com/nick-huang/p/4609048.html 【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!