for loop - SSIS variable Excel sheet name error with and without dollar sign $ -


i in catch 22 situation trying code each loop dynamically create list of excel files. in each loop have execute sql task runs create table statement name of sheet/tab. precedes data flow task runs query based on parm set in loop , attempts write results excel. problem either in excel destination object or sql task creates table.

the name of sheet set via variable. in examples online not include dollar sign ($) in sheet name, "report". when excel destination cannot find sheet/tab means cannot edit object map/remap columns. but, when change variable include dollar sign "report$", excel destination object works when running package create table step throws error saying "opening rowset 'report' failed. check object exists in database".

any ideas?

"create table `" +  @[user::excel_tab_name] + "` (


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -