Link to home
Start Free TrialLog in
Avatar of Mani Pazhana
Mani PazhanaFlag for United States of America

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
ASKER CERTIFIED SOLUTION
Avatar of Brendt Hess
Brendt Hess
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mani Pazhana

ASKER

Thanks
Avatar of Himanshi Joshi
Himanshi Joshi

whatever is the file extension .xls or .xlsx always select excel version -windows 2007 . It will definitely work with both xls and xlsx file. :)