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

Thread: Ora-01410: Invalid Rowid

Threaded View

  1. #3
    Join Date
    May 2005
    Location
    Boracay
    Posts
    681
    thanks davey
    sad :( ... this table dont have PK and its partitioned one and got 100+million rows.

    Is this the right wat to do the primary key?:

    alter table loans_a add(pk_1 number);
    alter table loans_b add(pk_2 number);

    update loans_a set pk_1=rownum;
    update loans_b set pk_2=rownum;

    alter table loans_a add primary key (pk_1);
    alter table loans_b add primary key (pk_2);

    Thanks
    Last edited by yxez; 09-03-2007 at 07:25 PM.
    Behind The Success And Failure Of A Man Is A Woman

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