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

How to read Excel file name from stored procedure and file path in a variable in ssis Expand / Collapse
Author
Message
Posted Thursday, October 18, 2012 4:02 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, April 2, 2014 10:23 AM
Points: 40, Visits: 259
Hi,

I have few excel sheets in a folder i need to load that sheets in a table the sheet names are coming from stored procedure and i am using the file path is in another variable how to get the both file name and sheet name in one variable in ssis and that sheets data has to load in one table.
can any one help ............
Post #1374238
Posted Thursday, October 18, 2012 4:20 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: 2 days ago @ 8:23 AM
Points: 3,313, Visits: 1,069
Check the following link may help u


http://stackoverflow.com/questions/4444169/import-data-from-excel-using-ssis-without-knowing-sheet-name



Post #1374253
Posted Thursday, October 18, 2012 5:32 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, April 2, 2014 10:23 AM
Points: 40, Visits: 259
Hi ,

Thanks for reply but in the link which was mentioned the script task has been used TO READ sheet name so without scipt task how to read a file.........
Post #1374280
Posted Sunday, October 21, 2012 1:56 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 7:19 PM
Points: 7,127, Visits: 12,655
It is a little unclear what you want because your post is a bit fragmented in terms of its sentence structures, but you may be able to achieve what you want using SSIS Expressions and SSIS Variables.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1375205
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse