Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Delete Empty column

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.

Labels (3)
1 Solution

Accepted Solutions
mks02
Creator
Creator

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.

View solution in original post

3 Replies
vboppudi
Partner - Creator III
Partner - Creator III

Hi,

 

Can you please provide more details?

 

Regards,

 

TRF
Champion II
Champion II

Want to remove a column from a dataflow? Use tFilterColumn.
mks02
Creator
Creator

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.