Truncate(Delete All Records) table and insert records
Posted: Thu Oct 06, 2005 4:09 am
Hi ..I need to truncate the records from a table and then insert records coming from a source table. To do this am using 2 separate oracle stages - one for "delete all rows" and another one for upsert(insert and dummy update). But the problem is the records are getting deleted and inserted parallely and ultimately only a few rows are getting inserted into the target table.
Have provided a constraint @inrownum=1(For Delete oracle Stage) in a transformer prior to the 2 oracle stages. Linkorder - first delete all records link and then insert link.
Can someone advise me on how to achieve truncate and insert .
Regards..Madhu
Have provided a constraint @inrownum=1(For Delete oracle Stage) in a transformer prior to the 2 oracle stages. Linkorder - first delete all records link and then insert link.
Can someone advise me on how to achieve truncate and insert .
Regards..Madhu