SSIS import

I would like to Import following xls [http://www.imf.org/external/pubs/ft/weo/2015/02/weodata/download.aspx] into SQL by SSIS. My SQL table should look like

ISO            Code             year            rate
AFG         PCPIPCH       2008            26.41
AFG                PCPIPCH       2009          -6.81
AFG               PCPIPCH        2010           2.17

but the xls has a different listing like

ISO               Code                 2008           2009            2010        2011
AFG                   PCPIPCH           26.41         -6.81             2.17         ...

What would be in your view the most efficient way to Import by SSIS?

Shall I go for coding like
INSERT INTO ISO, Code , year (2008), rate
SELECT ISO, Code, 2008....

or something like Looping in SSIS with variables (year) +1?

thx for your Input
rgds
Kongta
KongtaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim HornSQL Server Data DudeCommented:
You'll have to consume the file as it's written, which means either map it accordingly and do a PIVOT-INSERT in T-SQL, or I believe SSIS has a PIVOT transform you can add between source and destination.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KongtaAuthor Commented:
just googled the Pivot and got some results as YouTube-Videos, think that might be the way. let me try. thx a lot, rgds
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.