Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Howto drop invalid table?
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
I've created a table:
CREATE TABLE JBL.TMB (
N_SEQNO NUMBER NOT NULL, S_SUBJECT VARCHAR2 (4000 CHAR) NOT NULL, D_DATETIME DATE NOT NULL, S_SOURCE_SYS VARCHAR2 (4000 CHAR) NOT NULL, S_SOURCE_VER VARCHAR2 (4000 CHAR) NOT NULL, S_SOURCE_INST VARCHAR2 (4000 CHAR) NOT NULL, X_DATA XMLTYPE )
Then I dropped the xml-schema with:
exec dbms_xmlschema.deleteSchema('http://www.xyz.com/xsd/mb-data',
dbms_xmlschema.delete_cascade_force);
Now the table is invalid, when I try to drop the table I get:
SQL> drop table tmb;
drop table tmb
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-04063: table "JBL.TMB" has errors
How can I now fix, recreate or even drop the table?
TIA, Jarmo Received on Tue May 17 2005 - 03:50:27 CDT