I thought I had this working a while back but can't get it now.... I need to spool the contents of some tables into extract files. Problem I'm having is that I get either an 80 byte wrap (default line length) or truncated records.
----------------------------------------------------
set heading off
set echo off
set feedback off
set termout off
set wrap on
set newpage 0
set space 0
set pagesize 0
set colsep "|"
spool C:\export_temp\file_config_export.txt
select * from fnd_file_config_export;
spool off
spool C:\export_temp\eep_customer_set_export.txt
select * from fnd_eep_customer_set_export;
spool off
-------------------------------------------------
I've tried it without newpage, pagesize and space with wrap set on and off. doesn't seem to make a difference.
the exported record length will vary between tables but if I don't have to I don't want to set the 'linesize'. I also want to stay away from defining the columns.
Any ideas here?
----------------------------------------------------
set heading off
set echo off
set feedback off
set termout off
set wrap on
set newpage 0
set space 0
set pagesize 0
set colsep "|"
spool C:\export_temp\file_config_export.txt
select * from fnd_file_config_export;
spool off
spool C:\export_temp\eep_customer_set_export.txt
select * from fnd_eep_customer_set_export;
spool off
-------------------------------------------------
I've tried it without newpage, pagesize and space with wrap set on and off. doesn't seem to make a difference.
the exported record length will vary between tables but if I don't have to I don't want to set the 'linesize'. I also want to stay away from defining the columns.
Any ideas here?