Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Did you ever have one of those days?
Great idea! I scripted it like this:
declare
cursor c1 is select username,password,account_status from dba_users where account_status =3D 'EXPIRED' order by 1; begin for cu in c1 loop dbms_output.put_line('alter user '||cu.username||' identified by = values '''||cu.password||''';'); end loop;
I captured the output in TOAD, executed it, and all *seems* well. = Thanks much! If this were in Trillian I'd include = (b)(b)(b)(b)(b)(b)(b)(b)(b)(b)(b)(b)...
Rich
Rich Jesse System/Database Administrator rich.jesse_at_quadtechworld.com QuadTech, Sussex, WI USA
> From: oracle-l-bounce_at_freelists.org
> Sent: Thursday, May 20, 2004 6:27 PM
> Subject: Re: Did you ever have one of those days?
>=20 >=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri May 21 2004 - 09:27:33 CDT
![]() |
![]() |