Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: sql script delete all tables

Re: sql script delete all tables

From: Hans Forbrich <forbrich_at_telusplanet.net>
Date: Sat, 22 Mar 2003 03:36:30 GMT
Message-ID: <3E7BD973.512328E1@telusplanet.net>


Are you allowed to drop and recreate the user? In that case, try

Drop User xyz Cascade;

and then

Create User xyz (with the regular privileges, etc.)

If not, others have suggested a script that writes another script, but I would append the word 'Cascade' to ensure all subordinate objects are also dropped.

/Hans Received on Fri Mar 21 2003 - 21:36:30 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US