0

I am loading multiple excel files consisting of monthly data in SQL datawarehouse through ssis. i need month and year part from file name and fill a column with it. Name and path of my file are as

My File 09 2014 data.xls C:\Mydata\My File 09 2014 data.xls

I need to load "09 2014" from it. Please guide how can i achieve this.

Rosh

1 Answer 1

1

In the ForEachLoop which is used to process multiple files, the file name which is being processed currently can be stored in a Variable. With the variable having the file name, use it in a script task to modify/trim the unwanted part.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.