Check the following:
----------------------
TYPE task_rec_type IS RECORD
(id NUMBER, name VARCHAR2(25))
TYPE task_tbl_type IS TABLE OF task_rec_type
INDEX BY BINARY_INTEGER;
---------------------
I have a table (tasks) in database with two columns(id, name).
Now I want to select records from tasks and load into task_tbl_type.
WHAT IS THE BEST WAY?
Thanks.
----------------------
TYPE task_rec_type IS RECORD
(id NUMBER, name VARCHAR2(25))
TYPE task_tbl_type IS TABLE OF task_rec_type
INDEX BY BINARY_INTEGER;
---------------------
I have a table (tasks) in database with two columns(id, name).
Now I want to select records from tasks and load into task_tbl_type.
WHAT IS THE BEST WAY?
Thanks.