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: Looping through the users table

Re: Looping through the users table

From: <joel-garry_at_home.com>
Date: 12 Jan 2006 14:46:57 -0800
Message-ID: <1137106017.085319.256330@g44g2000cwa.googlegroups.com>

set verify off
set head off
set pages 0
set echo off
set linesize 120
spool bye_moti.sql
select 'drop user '||username||' cascade;' from dba_users where username = 'MOTI';
spool off
@bye_moti

That's off the top of my head, so don't use it in the Voyager worm just yet.

jg

--

@home.com is bogus.
http://www.boston.com/business/globe/articles/2006/01/01/check_verification_system_is_vulnerable_to_mistakes/?rss_id=Boston.com+%2F+Business+%2F+Personal+Finance+-+Money+Management+-+Financial+Management+-+Boston.com
Received on Thu Jan 12 2006 - 16:46:57 CST

Original text of this message

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