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 !

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top