Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Export table into flat text files
Using my SQL PlusPlus (freeware) I could generate an SQL Plus script
which will do the job.
SQL> exec s.h('blddat')
| ----------------------------------------------------------------------
SQL> exec s2.blddat('dept')
| SET HEADING OFF
| SET PAGESIZE 0
| SET TERMOUT OFF
| SET FEEDBACK OFF
| SET LINESIZE 2000
| SET TRIMSPOOL ON
| SPOOL test_dept.dat
| SELECT
| deptno||CHR(44)
| ||chr(34)||dname||chr(34)||CHR(44)
| ||chr(34)||loc||chr(34)||CHR(44)
| ||deptsal
| FROM test.dept;
| SPOOL OFF
|
| SET TERMOUT ON
regards,
M. Armaghan Saqib
+---------------------------------------------------------------| 2. SQL Link for XL => Integrate Oracle with XL
| 1. SQL PlusPlus => Add power to SQL Plus command line
+---------------------------------------------------------------
+---------------------------------------------------------------
Jun Garcia <jgarcia_at_junpg.net> wrote in message
news:38B0DFCF.8ADFC8B_at_junpg.net...
> Hello. We're kind of knew to Oracle and we need to export all the
tables
> in our database into flat text files. Can anyone please guide us on
how
> to do this? Thanks.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Feb 21 2000 - 21:00:30 CST
![]() |
![]() |