Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> How to get the Type name of an unknown Type?
In Oracle10g, I have a Type with several Subtypes. I have an object
table of that type in which I can store the master type or any of its
subtypes. I know I can extract specific types with a where clause
including IS OF (ONLY MYTYPE). But if I'm selecting all objects out of
the table, is there a way to tell the type of each of the objects? The
docs say to use SYS_TYPEID(), but that only returns a non-unique
number.
TIA. Received on Tue Jul 26 2005 - 13:15:41 CDT