Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: usernames
On Tue, 22 Feb 2005 14:25:28 +0100, Cris Carampa
<cris119_at_operamail.com> wrote:
>lambu999_at_yahoo.com wrote:
>
>> Is there a different script for Windows. Thanks
>
>If Windows don't support the '<<' mechanism, you can create a SQL file
>using notepad, e.g.:
>
>--- q.sql ---
>set pages 100
>set pause off
>set feedback off
>set head off
>select username from all_users ;
>quit
>-------------
>
>and then the sqlplus (not sqlplusw!) command would be:
>
>sqlplus -s un/pw_at_db @q.sql > usernames.txt
>
>Kind regards,
Better make that 'set pages 0', or you'll get an empty line after each 100 lines.
Jaap. Received on Tue Feb 22 2005 - 12:41:18 CST
![]() |
![]() |