Pregunta

 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 !

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top