Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_ROWID , 7 of 12
This function returns the database block number for the input ROWID
.
DBMS_ROWID.ROWID_BLOCK_NUMBER ( row_id IN ROWID) RETURN NUMBER;
pragma RESTRICT_REFERENCES(rowid_block_number,WNDS,RNDS,WNPS,RNPS);
Parameter | Description |
---|---|
row_id |
|
The example SQL statement selects the block number from a ROWID
and inserts it into another table:
INSERT INTO T2 (SELECT dbms_rowid.rowid_block_number(ROWID)FROM some_table WHERE key_value = 42);
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|