When I want to drop user i get the following error :
SQL> drop user a;
drop user a
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00942: table or view does not exist
ORA-06512: at line 10
Database version
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
In the tracefile, you should be able to see the statement like
DELETE FROM SDO_GEOM_METADATA_TABLE
WHERE
'"'||SDO_OWNER||'"' = '"A"'
You can check your database whether table SDO_GEOM_METADATA_TABLE exists or not.
SQL> select owner from dba_tables where table_name='SDO_GEOM_METADATA_TABLE';
OWNER
-----------------------
MDSYS
In your case, you are supposed to see some error messages like
ORA-00942: table or view does not exist
Current SQL statement for this session:
DELETE FROM SDO_GEOM_METADATA_TABLE WHERE '"'||SDO_OWNER||'"' = '"A"';
Here the error ORA-00942 refer to table SDO_GEOM_METADATA_TABLE. This is the reason why you need to install Oralce Spatial as the missing table is owned by MDSYS.
Make sure you install Oralce Spatial correctly and table SDO_GEOM_METADATA_TABLE
does exist in your database.
Bookmarks