Q
Problem solve Get help with specific problems with your technologies, process and projects.

Error when dropping objects

I would like to drop all objects within a given schema. But when I try I get the ORA-02449 error messages. I tried to disable constraints first but didn't work. Could you please shed some light on this for me?
If you really want to get rid of everything in a given schema, why not just drop the user? That way you don't have to worry about constraints being violated when trying to drop objects individually. If you want to keep the user after the objects are gone, still drop the user and then re-create them. That's the simplest thing to do in my opinion.

DROP USER user_name CASCADE ;

This was last published in November 2003

Dig Deeper on Oracle error messages

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.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close