Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: UTL_FILE QUESTION
> ..the excel files are put on Cd and posted to the clients (the group) who,
> I can only assume, do not have oracle. Please tell me more about this bar
> delimiter....
Well that explains it. But usually one sends the clients metadata (summaries) rather than the detail rows.
Anyway here's what you can do.
SELECT field1, '|', field2, '|', field3
FROM sometable
WHERE blah, blah
AND blah;
You will get a file that can be easily read by Excell and doesn't have the liability of comma delimited files that there may be commas in the data.
In Excell just do FILE / OPEN and point to the file. Excell will do the rest by popping up a wizard.
Daniel A. Morgan Received on Fri Jun 15 2001 - 15:32:53 CDT