Qtr No. 213, New Town Yehlanka Indore 454775
Which of the below PL/SQL programs will execute successfully and retrieve the student name of student with ID as 101?
Option 1
DECLARE v_student student%ROWTYPE; BEGIN SELECT student_name INTO v_student FROM student WHERE student_id = 101; DBMS_OUTPUT.PUT_LINE('student_name: '|| v_student); END;
Option 2
DECLARE v_student student%ROWTYPE; BEGIN SELECT student_name INTO v_student.student_name FROM student WHERE student_id = 101; DBMS_OUTPUT.PUT_LINE('student_name: '|| v_student.student_name); END;
Option 3
DECLARE v_student student%ROWTYPE; BEGIN SELECT * INTO v_student FROM student WHERE student_id = 101; DBMS_OUTPUT.PUT_LINE('Student_name:: '|| v_student.student_name); END;
To get all PLSQL Assessment Exam questions Join Telegram Group https://bit.ly/infy_premium_group
We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.
Qtr No. 213, New Town Yehlanka Indore 454775
admin@prepflix.in
Updated on Fri, 13 Jun 2025