Skip to main content
Answer

include filename when importing file

  • June 16, 2021
  • 3 replies
  • 63 views

Forum|alt.badge.img+5

I want to import multiple csv-files into the same table.

I want to know which imported rows were part of the same import-batch.

In the Debug-view I only see the INSERT (preceded by DEFAULT if modeled), but see no extra information about the batch or imported file.

How can I do this?

Best answer by Mark Jongeling

I'm afraid this is currently not possible through the GUI import functionality. Feel free to create an idea for this.

This topic has been closed for replies.

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Roy,

You could include the filename in the row data of your csv-file and map it to the designated filename column in your application. Would that suffice?


Forum|alt.badge.img+5

Hi Mark,

Unfortunately not, since the csv-file is generated externally and can contain a lot of rows. For smaller csv-files and ones that we generate ourselves this would be an option.

We already must make one change, as the last row contains a character that the default Thinkwise import can't handle: 

Any ideas around that would also be helpful.


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • June 17, 2021

I'm afraid this is currently not possible through the GUI import functionality. Feel free to create an idea for this.