0

is it possible to declare an Attribute with %ROWTYPE in a global Type?

create or replace TYPE test_type AS OBJECT ( variable_test test_table%ROWTYPE, MEMBER FUNCTION get_ID RETURN NUMBER;)

blackman
  • 23
  • 1
  • 4
  • Try to check this answer: https://stackoverflow.com/questions/21607313/assign-value-to-a-field-of-rowtype-where-field-name-is-a-string – teoreda Jul 09 '15 at 08:50
  • See this on: [link](http://stackoverflow.com/questions/9634535/how-do-i-create-oracle-type-which-refers-to-table-columns-for-data-type) – Praveen Jul 09 '15 at 10:45

0 Answers0