ORA-04063: table has errors---- [message #170173] |
Tue, 02 May 2006 07:59  |
paresql
Messages: 13 Registered: October 2005
|
Junior Member |
|
|
Hi,
I am creating a type then a table based on it, then insert values in it, then I have to recreate the type (first I drop type force and then create or replace type ..) and then I would like to do a select * from this table but I get the ORA-04063 table mytable has errors.
I know I could drop the table and create it again, but the way I described it, its the way I need to do it.
Thanks for any help
|
|
|
|
|
|
Re: ORA-04063: table has errors---- [message #170197 is a reply to message #170190] |
Tue, 02 May 2006 09:41   |
paresql
Messages: 13 Registered: October 2005
|
Junior Member |
|
|
Well, I can not just drop the table. The reason of this weird code its that at start I create the type, the table and the inserts in SQL directly, and then, because I need to do certain and manipulations of data and functions I have a java program that connects to my DB recreate the type and need the values I just inserted on that table,
So again, the way I described it before its the way I need to do it, the ORA code table mytable has errors appears because I am deleting the type in which the existing table is created. There must be a way this table with data could be query even when I drop the type is based on
|
|
|
|
|
|
|