PL/SQL (MOSC)

MOSC Banner

unable to refer the record type using table type

edited Nov 19, 2013 10:12PM in PL/SQL (MOSC) 4 commentsAnswered
 hi,
i am getting some error when i am referring a table type which is define don record type

declare
type t_rec is record (v_emp emp%rowtype);
type t_tab is table of t_rec;
l_tab t_tab;
begin
select * bulk collect into l_tab from emp where empno=7788;
dbms_output.put_line(l_tab)
end;

please give some explanation on this.

Thanks in Advance

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center