Oracle PLSQL Demo - 27.Declare & Run Sample

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_line(v_sal);

end;

 

你可能感兴趣的:(oracle)