I would like to know how to extract the file name using SSIS from the below given paths:
Paths:
O:\SourceFiles\Primary\care\ALC121.csv
O:\SourceFiles\Primary\care\COPL119.csv
I would like to insert the names and the full path into a table as shown below:
Table data:
QueryName FileName
--------- ---------------------------------------
ALC121 O:\SourceFiles\Primary\care\ALC121.csv
COPL119 O:\SourceFiles\Primary\care\COPL119.csv