I am trying get data through all flat files into a single table.
All flat files are located in single directory and i have selected a data flow task inside a File Enumerator to pick data from each file and load into a table.
Data flow task has flat file source going to derived columns and finally to tables.
Now while data is flowing from derived column to table, i want one column to be added extra representing 1 if it is retrieving data from the delhi.txt and '2' if it is loading from mumbai.txt and so on.
Please let me know if it is not achieved by using derived column and if there is any other way in achieving this.