How to drop the example schemas from Oracle9i

When I tried to drop the example schemas (QS,QS_WS,QS_ES) from my Oracle9i database, I am got the message Ora-24008 saying that I have to drop the queue table using the dbms_aqadmn.drop_queue_table. But when I tried to remove the queue table by this method, I am got the error ORA-24002: QUEUE_TABLE QS_WS.AQ$_QS_WS_ORDERS_MQTAB_H does not exist. If I try to remove the EXAMPLE tablespace, I get the same message. So how can I remove the users? I used the scripts available in the machine to create and drop the example shemas. This is also giving the errors.

    Requires Free Membership to View

Did you simply try DROP USER QS CASCADE; or DROP TABLESPACE the_ts INCLUDING CONTENTS; ?

Either of those should work. You just need to force the drop to occur even if objects exist. Another option is to run the create scripts again and then immediately run the drop script. That way everything should be there and the drop might work properly.

For More Information


This was first published in May 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.