Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Loader Control File Generation
Okay,
What is TFTS and what sort of scripts are generated?
If you are talking about scripts that will generate the control file for a table check out some of the Oracle sites that have scripts and look for Jared Still's sqlunload script. It generates the control file and dumps the table to a flat file.
You can always do a select against USER_TABLES, spool the output, and then execute it from SQL*Plus. For example,
SPOOL sqlunloader.sql
SELECT '@sqlunld', table_name FROM user_tables;
SPOOL off
@sqlunloader
will create a sql script that when executed will run a sql script named sqlunld for each table belonging to the user and then run that script. This will work for both NT and Unix.
regards
Jerry Gitomer
![]() |
![]() |