Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Folks
i have a csv file and i want to move in SQL but CSV file contain empty Column how i can delete it.
If you don't want to pass the NULL column to DB table, then don't mentioned the column name in DB table schema. It will not load the data into table.
For eg. you have csv file of below format:
e_id, Fname, Lname, City
and in DB you have: e_id, Fname, Lname
1) In tMap, you don;t need to mentioned the "City" column in output schema. It will load only 3 columns to DB table.
2) Using tFilterColumn, just delete the "City" column for tFilterColumn schema. It will load only 3 columns to DB table.
Let me know if you required anything else.
Hi,
Can you please provide more details?
Regards,
If you don't want to pass the NULL column to DB table, then don't mentioned the column name in DB table schema. It will not load the data into table.
For eg. you have csv file of below format:
e_id, Fname, Lname, City
and in DB you have: e_id, Fname, Lname
1) In tMap, you don;t need to mentioned the "City" column in output schema. It will load only 3 columns to DB table.
2) Using tFilterColumn, just delete the "City" column for tFilterColumn schema. It will load only 3 columns to DB table.
Let me know if you required anything else.