TYPE is used for user-defined types within PLSQL packages. Outside the plsql package the statement is CREATE TYPE.
Here's some more information about user-defined types within packages: link
Question
TYPE datatype_type
IS
TABLE OF datatype%ROWTYPE
INDEX BY BINARY_INTEGER;
datatype_bulk datatype_type;
I have googled for TYPE keyword but was't able to get answer except for create object types . Please see if anyone can explain this !
Solution
TYPE is used for user-defined types within PLSQL packages. Outside the plsql package the statement is CREATE TYPE.
Here's some more information about user-defined types within packages: link