Oracle PLSQL Demo

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;
原文地址:https://www.cnblogs.com/nick-huang/p/4609052.html