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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
MaxIT
Partner - Contributor III
Partner - Contributor III

Loading csv file name into a MS SQL table

I need to load data from different csv files into a MS SQL table.

I'm already able to add an additional column with the Load Date as GETDATE().

I'd like to load the csv File Name as well.

Any idea?

Thanks

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@MaxIT , if you are using tfilelist to list the files and iterate file by file then in tmap or in tJavarow you can use the global variable  of tfilelist.

 

((String)globalMap.get("tFileList_1_CURRENT_FILE"))

 

 

View solution in original post

2 Replies
manodwhb
Champion II
Champion II

@MaxIT , if you are using tfilelist to list the files and iterate file by file then in tmap or in tJavarow you can use the global variable  of tfilelist.

 

((String)globalMap.get("tFileList_1_CURRENT_FILE"))

 

 

MaxIT
Partner - Contributor III
Partner - Contributor III
Author

It works with the tMap.

Thanks