I have a Files table . I want to grab the FileID from that table in the staging table respective to the file processed . This task should be through SSIS .
FName LName FileID
Lorena Baylor 1
Gayatri KKK 1
Lopa Das 2
The first two records are from the same file hence same fileID . The third column FileId is from the files table and the FName and LName is from an excel source
How to grab this info in a variable through a sql statement ?