SET SERVEROUTPUT ON; DECLARE Β Β v_fname students.first_name%TYPE; -- we declare an identical variable with the name v_fname and the identical type of first_name column from student BEGIN Β Β SELECT first_name INTO v_fname FROM students WHERE stu_id = 1; Β Β DBMS_OUTPUT.PUT_LINE(v_fname); END;
Comments
0 B
|π
/π
0 B
|π
/π