CREATE OR REPLACE PROCEDURE proc1(e IN NUMBER) IS
  s NUMBER;
BEGIN
  SELECT sal INTO s
  FROM emp
  WHERE empno = e;
  DBMS_OUTPUT.Put_Line('Odczytalem: '||s);
END;
/
