Viewing 2 posts - 1 through 3 (of 3 total)
Hi Johan,
yes, I had a look at that and now I understand.
Here's a way to reproduce:
On connection 1, execute the following:
[font="Courier New"]CREATE PROCEDURE dbo.TestProc
AS
INSERT #t1
SELECT 1 AS N;
GO
CREATE TABLE #t1(N...
September 4, 2012 at 6:33 am
#1533236
Thank you for your response, Johan, but I'm really looking at how to generate a duplicate plan because of a difference in the optional_spid column, not the SET options.
September 4, 2012 at 2:00 am
#1533142