I'm trying to familiarize myself with a O/R db, which has led me to try to get object references.
Started out by listing all_objects for a specific user, and just picked one object (CF02) whose type is TABLE
i.e. OBJECT_TYPE = 'TABLE'
I then opened the table, and just went with one of the rows whose first field (OBJECT_ID
) is 9142055040413031761
.
Then I tried to get the ref()
on that row.
SELECT ref(cf) FROM rdbmgr.CF02 as cf
WHERE OBJECT_ID = 9142055040413031761
Hoping to get a similar result to that in the Oracle books, which is an internalnumber for the location of the object...