rayskelton
asked on
How do you truncade a database in Oracle sqlldr before loading fresh data.
How do you truncade a database in Oracle sqlldr before loading fresh data. I can do this in sqlplus but would prefer to do inthrough sqlldr.
do you mean truncate TABLE or really DATABASE?
execute immediate 'truncate table tablename;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Will this work as control file option in sqlldr or is this a command line option?
'truncate table tablename';
'truncate table tablename';
ASKER
truncate as a control file option works good,
thanks
thanks