DECLARE
v_ename emp.ename%Type
v_empno emp.empno%Type := &p_empno;
BEGIN
 SELECT ename
 INTO v_ename
 FROM emp
 WHERE empno = v_empno;
DBMS_OUTPUT.PUT_LINE('De naam van de werknemer is'||v_ename);
END
;
/
