Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
"truncate table_name"
Hi, Rosanero4Ever
For your tasks, we design a job(see pic): tMysqlRow(onSubjectok)-->in.txt(main)-->tMysqloutput-->tLogRow. We set the in.txt as a positional file and the pattern is "7,9,*" , for example:
Id Name age
1 Mike 22
2 John 33
This job can meet your 4 needs:
- import a positional file
- truncate destination table
- transform imported clean
- insert trasformed data into the destination table.
And in the component tMysqlRow, the query is"truncate table_name"
.
Best Regards
Sabrina