Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: data corruption
hello JH,
important:
* Check what indexes exist on the table
select owner,name
,lower(decode(type ,'PACKAGE BODY','pkg body' ,'TRIGGER','<b>TRIGGER' ,type) ) ,referenced_owner ,referenced_name ,lower(decode(referenced_type ,'PACKAGE BODY','pkg body' ,'NON-EXISTENT','non-exst' ,referenced_type))
decode(c.constraint_type,'P','Primary Key', 'U','Unique Key', 'C','Check', 'R','Foreign Key', c.constraint_type) "type", c.r_owner "REFtable", c.r_constraint_name "ref constraint"from ALL_CONSTRAINTS C
> Hi all, > I am having a problem with the database. Oracle 8.0.5, NT4.0. There are > data corruption in a table. I plan to recreate the table using CREATE > TABLE new_table AS SELECT * FROM original_table... filtering out the row > that has the problem. When I rename original_table to dump_table andrename
> original_table? Is there anything else I need to watch out for? > > Any help is appreciated. > Thanks. > > jhReceived on Sat Jan 18 2003 - 04:50:25 CST
![]() |
![]() |