Q

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.

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 last published in May 2003

Dig Deeper on Oracle database design and architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close