quackhandle1975 (11/27/2014)
Hi Resender, to get more help you may need to repost (for the t-sql code)http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]
qh
I just had a look at my post & I saw a mistake,instead of code="sql", I used quote=sql
dbalmf (11/27/2014)
Hi resender,Try using --execute sp_executesql (@SQL)
Rather than --execute sp_executesql @SQL
Ta
David
Tried that didn't work
Eventually I found that changing the ole db connection manager solved the issue,still it was not a helpful error message as it kept sending me in the wrong
direction.