pl/sql does not work with %rowtype
- by Manolo
I want to do a simple PL/SQL program on the Oracle 10g internet environment. The program is:
DECLARE
stud_rec students%ROWTYPE;
last_name VARCHAR2:='Clinton';
BEGIN
SELECT * INTO stud_rec FROM students WHERE student_id=100;
END;
I have a table called students with data inside of it. The issue is that when I want to run this in the SQL…