Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_ROWID , 6 of 12
This function returns the relative file number of the ROWID
specified as the IN
parameter. (The file number is relative to the tablespace.)
DBMS_ROWID.ROWID_RELATIVE_FNO ( rowid_id IN ROWID) RETURN NUMBER;
pragma RESTRICT_REFERENCES(rowid_relative_fno,WNDS,RNDS,WNPS,RNPS);
Parameter | Description |
---|---|
row_id |
|
The example PL/SQL code fragment returns the relative file number:
DECLAREfile_number INTEGER; rowid_val ROWID;BEGINSELECT ROWID INTO rowid_val FROM dept WHERE loc = 'Boston'; file_number := dbms_rowid.rowid_relative_fno(rowid_val); ...
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|