Hi All,
Using ORacle 12c database. With PLSQL, I have defined a cursor 'c_emp' is select * from employees. I have two variables one ROWTYPE for the employee record and another an emp_id declared in the PLSQL block.
I do a fetch on the cursor into ROWTYPE variable. My question is how do I populate the emp_id variable using the cursor.
Please advise, any example will be nice.
Thanks