Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ssis xls and xlsx files Expand / Collapse
Author
Message
Posted Friday, November 09, 2012 6:29 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, April 18, 2014 10:21 AM
Points: 197, Visits: 4,400
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
Post #1382992
Posted Monday, November 12, 2012 12:57 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 6:08 AM
Points: 12,212, Visits: 9,193
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.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1383532
Posted Monday, November 12, 2012 5:06 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, April 18, 2014 10:21 AM
Points: 197, Visits: 4,400
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
Post #1383617
Posted Monday, November 12, 2012 5:23 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 6:08 AM
Points: 12,212, Visits: 9,193
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.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1383630
Posted Monday, November 12, 2012 8:49 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, April 18, 2014 10:21 AM
Points: 197, Visits: 4,400
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
Post #1383727
Posted Wednesday, November 21, 2012 1:32 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, December 05, 2012 9:49 PM
Points: 3, Visits: 31
you can add expression of excelversionnumber, if xlsx set the value to 4 if xls set to 3
Post #1387274
Posted Wednesday, November 21, 2012 1:59 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, December 05, 2012 9:49 PM
Points: 3, Visits: 31
see attachment

  Post Attachments 
aa00.png (42 views, 5.43 KB)
Post #1387289
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse