Pergunta

 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 !

Foi útil?

Solução

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 em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top