DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Is there any way to know particular record is in which data file..?

  1. #1
    Join Date
    Jul 2002
    Posts
    205

    Is there any way to know particular record is in which data file..?

    Is there any way to know particular record in a table is in which data file..?

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Sure - row's ROWID will tell you exactly which file a particular row is comming from.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    Jul 2002
    Posts
    205
    How to map this ROWID with the data file name..?

    create table t1(f1 number);

    insert into t1 values(1);
    commit;

    SQL> select rowid from t1;

    ROWID
    ------------------
    AAAHojAAMAAAAAOAAA

  4. #4
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    dbms_rowid.rowid_relative_fno()
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width