Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: creating output file from sqlplus
"DH" <my_generic_email_at_att.net> wrote:
> I know how to use the spool command in sql*plus to save the results to a
> file. But myquery is returning about 63,000 user IDs. I need these in a
> text output file that can be imported into a utility to correct a problem
> we're having. Using the spool command includes line numbers and headers
> that would have to be stripped out manually. Is there a way to create a
> file with simply the user IDs?
> (Hope this is the right group to post this - I couldn't find one for
> sql*plus)
Another thought is to use Excel via ODBC to Oracle (assuming that you have a windows desktop somewhere about)?
Paul...
-- plinehan __at__ yahoo __dot__ __com__ XP Pro, SP 2, Oracle, 9.2.0.1.0 (Enterprise Ed.) Interbase 6.0.1.0; When asking database related questions, please give other posters some clues, like operating system, version of db being used and DDL. The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks. Furthermore, as a courtesy to those who spend time analysing and attempting to help, please do not top post.Received on Mon Sep 05 2005 - 07:43:25 CDT
![]() |
![]() |