var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Insert exec statement cannot be nested
I have a problem with executing Transact-SQL at SQL2005.
I am trying to capture sp_replmonitorhelpsubscription output info using a temp table, but it saying ''Insert exec statement cannot be nested''.
Is there any workaround to resolve this issue.
With kind regards . . . . . SQL Server 2000/2005/2012
Grabel's Law: 2 is not equal to 3 -- not even for very large values of 2.
Pat Phelan's Law: 2 very definitely CAN equal 3 -- in at least two programming languages
there is a workaround, but it's a bit lame. you have to use OPENROWSET.
see: An INSERT EXEC statement cannot be nested: Executing system stored procedure