摘要:
declare v_job varchar2(50) := 'Programmer'; v_sal number; begin if v_job = 'Programmer' then v_sal := 6000; elsif v_job = 'Senior Programmer' then v_sal := 8000; ... 阅读全文
posted @ 2015-06-29 22:47
nick_huang
阅读(821)
评论(0)
推荐(0)
摘要:
declare v_sal number; begin select t.sal into v_sal from scott.emp t where rownum <= 1; dbms_output.put_line(v_sal); end; 阅读全文
posted @ 2015-06-29 22:46
nick_huang
阅读(1845)
评论(0)
推荐(0)
摘要:
declare 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_l... 阅读全文
posted @ 2015-06-29 22:45
nick_huang
阅读(367)
评论(0)
推荐(0)

浙公网安备 33010602011771号