You are here:

Oracle/file transfer

Advertisement


Question
How to convert oracle output text document into excel file.

If its possible please suggest me.

Thanks,
kamlesh.

Answer
Hi Kamlesh,

These are some ways to convert oracle output to excel file -

1) Using TOAD - select the rows from the table which are to be exported and save as excel or csv.
2) Using SQL*Plus - create a comma delimited file using the spool command and select statement as follows -

 spool emp
 select empno || ',' || ename || ',' || deptno from emp;
 spool off

 This will create emp.lst file. Open this using Excel.

Hope this helps.

Regards

Suchitra

Oracle

All Answers


Answers by Expert:


Ask Experts

Volunteer


Suchitra Joshi

Expertise

I can answer questions regarding SQL, PL/SQL, Procedures, Functions, Triggers, SQL Loader, Oracle Forms, Oracle Reports, and some basic dba and performance tuning activities.

Experience

15+ years of Oracle PL/SQL Development

Education/Credentials
B.Sc (Electronics), Diploma in Computer Applications (DCA)

Awards and Honors
Oracle PL/SQL Developer Certified Associate (OCA)
Oracle Database: SQL Certified Expert
Brainbench certifications in Oracle Administration, PL/SQL, Developer 2000

©2012 About.com, a part of The New York Times Company. All rights reserved.