Link to home
Start Free TrialLog in
Avatar of Martin_01
Martin_01Flag for United States of America

asked on

Remove an entire schema

How to remove an entire schema from the command line in SQLPLUS? Oracle 9i
what rights should DBA have?
Service = Bugs
Schema = Lefteye


Drop schema didn’t work. Or I just typed it wrong. 
Avatar of gvsbnarayana
gvsbnarayana

Hi,
   You can connect to the database using a DBA privileged user name and drop the user like this:
Drop user lefteye cascade;
This is an irreversable action and all objects belonging to this user and the username is also dropped.
HTH
Regards,
Badri.
Avatar of Sujith
To be on the safe side, keep an export dump of the schema before drop.
Avatar of Martin_01

ASKER

so after I log in I would type "Drop user lefteye cascade;"
ASKER CERTIFIED SOLUTION
Avatar of gvsbnarayana
gvsbnarayana

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks :)