Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
UTL_REF , 2 of 5
This procedure selects an object given its reference. The selected object is retrieved from the database and its value is put into the PL/SQL variable 'object'. The semantic of this subprogram is similar to the following SQL statement:
SELECT VALUE(t) INTO object FROM object_table t WHERE REF(t) = reference;
Unlike the above SQL statement, this subprogram does not require you to specify the object table name where the object resides.
UTL_REF.SELECT_OBJECT ( reference IN REF "<typename>", object IN OUT "<typename>");
May be raised.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|