Mani Pazhana
asked on
SSIS - loading different version of excel files
Hello Experts,
I am using SQL Server 2008 - SSIS to load excel files to database.
SSIS excel connection manager, lets you specify which type of excel file, you will be connecting to either xls or xlsx, you can not use one connection manager for both types, this only allows the user to always change an xlsx file to xls, then process it,
Is there a way to dynamically change the connection manager, based on the type of excel file, or should i just have two different SSIS packages called, when a different type is processed.
Say i have 2 files - test.xls and test.xlsx --- i want to process both files without changing excel connection manager info in SSIS.
Any Idea?
Thanks
I am using SQL Server 2008 - SSIS to load excel files to database.
SSIS excel connection manager, lets you specify which type of excel file, you will be connecting to either xls or xlsx, you can not use one connection manager for both types, this only allows the user to always change an xlsx file to xls, then process it,
Is there a way to dynamically change the connection manager, based on the type of excel file, or should i just have two different SSIS packages called, when a different type is processed.
Say i have 2 files - test.xls and test.xlsx --- i want to process both files without changing excel connection manager info in SSIS.
Any Idea?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
whatever is the file extension .xls or .xlsx always select excel version -windows 2007 . It will definitely work with both xls and xlsx file. :)
ASKER