ssis xls and xlsx files

  • 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

  • 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

  • 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

  • asranantha (11/12/2012)


    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

    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

  • 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

  • you can add expression of excelversionnumber, if xlsx set the value to 4 if xls set to 3

  • see attachment

  • 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