Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 writing excel filename to sql using ssis

Author  Topic 

shilpash
Posting Yak Master

103 Posts

Posted - 2014-07-31 : 13:25:21
Hi Guys,

I am loading the excel file to the database using for each loop where I have the variable to point it to the excel path.I have a store procedure where it takes the parameter filename to write it into sql table and I am mapping that parameter to the excel path.But it loads the data flow but doesn't write that filename in to the table.Any suggestions??

shilpash
Posting Yak Master

103 Posts

Posted - 2014-07-31 : 13:50:21
Nevermind.This is solved.I have to use the execute sql task inside the for each loop.I was using this outside of the for each loop before.
Go to Top of Page
   

- Advertisement -