Quantcast
Viewing all articles
Browse latest Browse all 24688

Execute SQL Task fails in SSIS package but runs successfully outside package

Hi,

I created an execute sql task to save the filenames encountered in a Foreach Loop task into a database table,
this works fine when I run the the individual task and it writes the filename to the database table (see below)

Note: i am unable to insert images "Body text cannot contain images or links until we are able to verify your account." 

However when i run the complete SSIS package, this task fails (see below)

Note: i am unable to insert images "Body text cannot contain images or links until we are able to verify your account." 

The error message I am getting is

Error: String or binary data would be truncated.

[Execute SQL Task] Error: Executing the query "insert into filename_staging_table
(FileName) Val..." failed with the following error:

"The statement has been terminated.". Possible failure reasons: Problems with the query,

"ResultSet" property not set correctly, parameters not set correctly,

or connection not established correctly.

Any guidance with this greatly appreciated....I am completely stuck!!!!

Thanks

A Picture Paints a Thousand Words





Viewing all articles
Browse latest Browse all 24688

Trending Articles