What is types/collections in Pl/SQL?
Collection Types in PL/SQL Types : Type is nothing but user_defined datatype. In oracle we can create our own datatype. We can create user_defined datatype by using type keyword.There are various types of collection in Pl/SQL following lines. 1)PL/SQL record 2) index by table (or) pl/sql table (or) associative array 3) nested table 4) Varray 5)ref cursor* (will be in next) Note: where index by table ,nested table and Varray are also known as collections. Index by table: It is a type. Which stores number of values into a single unit. It improves application performance because it stored in RAM MEMORY AREA.Index by table has key-value pair. Where key behaves like a primary key. which stores index. Key doesn't have any duplicate value in it. Where value is actual data. To improve performance of the index by table oracle provided binary_integer datatype for key field. Index by table,nested table, Varray are also called as collections. Oracle provided predefi...