Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Spool Oracle Tables into Excel Format
Bob,
All of the options stated by people from this list are excellent.
One thing that was not mentioned was that Excel can read any type of text file. It will notice that it is a text file, and will provide you with the opportunity to declare what the column delimiter is.
What this means is that you can use any character as a field delimiter, tell Excel what that column is, and it will convert the file for you.
By default, Excel likes the TAB char as a column delimiter. So, you can write your query as such:
select column1||char(10)||column2||char(10)||column3||char(10) from table_name.
Spool the output and name the file newfile.txt; start Excel, and file|open the file and follow the help wizard. I do this all the time.
Hope this helps.
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Friday, September 20, 2002 4:33 PM
To: Multiple recipients of list ORACLE-L
All,
Is it possible to create Oracle reports into Excel
format ?
Is it possible to spool Oracle tables into Excel
format?
Thanks in Advance
Bob
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Sep 23 2002 - 08:13:19 CDT
![]() |
![]() |