REF) is a system-generated value that locates a persistent object, which is an object that continues to exist and retains its data beyond the duration of the process that creates it.
OID) is a globally unique identifier that is used as a unique descriptor in object reference.
OID with the user-defined type value.
|
|
SCOPE FOR table_name restricts the scope of the column REF values to table_name.
The REF values for the column must come from REF values obtained from the object table specified in the clause.
REF is comprised of the target object’s OID, an object table identifier, and a database identifier.
SQL> SELECT acc_holder FROM accounts;
ACC_HOLDER
--------------------------------------------------------------------------------
0000220208%494551C0EDD339DE034080020C47386D494551C0EDB339DE034080020C47386
|
What do you call a dog with no legs? It doesn’t matter, it’s not going to come anyway. |