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
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.
This award recognizes an author who contributes the highest volume of original works or content. Recipients of this award produce extremely valuable content that prioritizes accuracy, relevancy, and professionalism.