Ask the Expert

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: