标签:
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;
Oracle PLSQL Demo - 02.SELECT INTO单行赋值[SELECT INTO variables]
原文地址:http://www.cnblogs.com/nick-huang/p/4609052.html