I am trying to upload multiple CSV files which has dates but I wanted the dates to be part of the column and I have no idea how its done in SSIS
CSV files look as shown below when opened in Excel.
CSV data 1:
Relative Date: 02/01/2013
Run Date: 15/01/2013
Organisation,AreaCode,ACount
Chadwell,RM6,50
Primrose,RM6,60
CSV data 2:
Relative Date: 14/02/2013
Run Date: 17/02/2013
Organisation,AreaCode,ACount
Second Ave,E12,110
Fourth Avenue, E12,130
In the Data Warehouse, I want the *`Relative Date`* and *`Run Date`* along the columns as shown below:
Desired output:
| Organisation | AreaCode | ACount | RelativeDate | RunDate |
| ---------------------|------------- | ---------- | ---------------- | --------------- |
| Second Avenue | E12 | 110 | 14/02/2013 | 17/02/2013 |
| Fourth Avenue | E12 | 130 | 14/02/2013 | 17/02/2013 |
| Chadwell | RM6 | 50 | 02/01/2013 | 15/01/2013 |
| Primrose | RM6 | 60 | 02/01/2013 | 15/01/2013 |
CSV files look as shown below when opened in Excel.
CSV data 1:
Relative Date: 02/01/2013
Run Date: 15/01/2013
Organisation,AreaCode,ACount
Chadwell,RM6,50
Primrose,RM6,60
CSV data 2:
Relative Date: 14/02/2013
Run Date: 17/02/2013
Organisation,AreaCode,ACount
Second Ave,E12,110
Fourth Avenue, E12,130
In the Data Warehouse, I want the *`Relative Date`* and *`Run Date`* along the columns as shown below:
Desired output:
| Organisation | AreaCode | ACount | RelativeDate | RunDate |
| ---------------------|------------- | ---------- | ---------------- | --------------- |
| Second Avenue | E12 | 110 | 14/02/2013 | 17/02/2013 |
| Fourth Avenue | E12 | 130 | 14/02/2013 | 17/02/2013 |
| Chadwell | RM6 | 50 | 02/01/2013 | 15/01/2013 |
| Primrose | RM6 | 60 | 02/01/2013 | 15/01/2013 |