Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done

$
0
0

I am passing variable value as input parameter to a script in execute sql task. Its a string variable in package having value C:/Archive

The input parameter data type is varchar in parameter mapping in execute sql task.

script in execute sql task is  

Declare @body1 nvarchar(max), @b nvarchar(max)

set @body1 = 'The softdollar error files are located at '
set @b =  @body1 + ?

EXEC msdb.dbo.sp_send_dbmail 
@profile_name='PWO Notification',
@recipients='JoJo@cmdt.com',
@subject= 'Soft Dollar Package',
@body= @b

Package throws error : 

"Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>