How to export the Query and Results in Oracle SQL *Plus Worksheet

In oracle SQL *Plus Worksheet you can simply export the query and results to external files rather copy and paste.

E.g :If you want to export the all employee details to Text file, Here it is the very simple solution ;


Spool c:\Employees_Data.txt;


Select * From Employees ;


Once you run this query,The Query and Results would export to Employees_Data.txt file.

Comments

Popular posts from this blog

SQL SERVER – TRIM() Function – UDF TRIM()