November 9, 2012 at 6:29 am
Hi friends i have i small doubt in ssis plz tell me how to solve this issuse
a folder contains some fils are xls format and some files are xlsx files format and
all xls and xlsx files are contains same struture like id,name,sal columns names
is it possible or not to loadd all xls and xlsx files at a time .if its possible plz tell me some process how to achive that one in ssis
November 12, 2012 at 12:57 am
You can use the ACE OLE DB provider to read Excel 2003 and Excel 2007 files.
This driver is used normally for the Excel 2007 files, but due to backwards compatability it can read 2003 as well.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
November 12, 2012 at 5:06 am
hi small doubt to loading xls and xlsz files format
actual whil loading xls file extendent propertis=excel 8.0 and
xlsx file extendent properies=excel 12.0
is it possible to load at a time mulitple xls and xlsx files to load destination
November 12, 2012 at 5:23 am
asranantha (11/12/2012)
hi small doubt to loading xls and xlsz files formatactual whil loading xls file extendent propertis=excel 8.0 and
xlsx file extendent properies=excel 12.0
is it possible to load at a time mulitple xls and xlsx files to load destination
I tested it and it seems it is not possible. Although the ACE OLE DB provider can read .xls files, he cannot change dynamically between .xls and .xlsx.
So you'll need to create two connection managers and 2 dataflows to transfer the files.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
November 12, 2012 at 8:49 am
while i load multiple xlsx files that time show errore like
Error: The Assertions OleDbSchemaGuid is not a supported schema by the 'Microsoft.ACE.OLEDB.12.0' provider.
that time what we do
November 21, 2012 at 1:32 am
you can add expression of excelversionnumber, if xlsx set the value to 4 if xls set to 3
November 21, 2012 at 1:59 am
see attachment
September 17, 2014 at 5:23 am
Hi resurrecting this thread, I see the approach in the attached screenshot. Just wondering how do you go ahead about dynamically setting the excelname variable to accept either xlsx or xls file paths?
Thanks!
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply