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

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close