May 9, 2012 at 10:14 am
hi
when i am showing estimate execution plan,SSMS just stops working.
what causes it to stop working.
Any idea?
May 9, 2012 at 10:20 am
Stops working, or just doesn't return an execution plan in a reasonable time?
Some plans can take a while to generate!
May 9, 2012 at 10:24 am
...SSMS just stops working.
what causes it to stop working.
Any idea?
It depends, for example if you are using Amstrad or Sinclair, just buy a newer PC, something with Pentium inside should make SSMS working again.
May 9, 2012 at 1:42 pm
riya_dave (5/9/2012)
hiwhen i am showing estimate execution plan,SSMS just stops working.
what causes it to stop working.
Any idea?
Let me guess. This is the same query where you replaced a CURSOR with a WHILE loop.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 9, 2012 at 1:44 pm
it just hang out and never come back.
and i am seeing ssms(not responding).
it is working for another sp.
i am using table variable ,i know for temp its not gonna work.but i dont have any temp table.
May 9, 2012 at 1:47 pm
If it's the code with the cursor, it will take ages because there will be hundreds, maybe even thousands of execution plans. If there's a cursor anywhere in the code, don't even try to look at the plans, there will be far too many and the performance problems from cursors aren't fixed by looking at the exec plan
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2012 at 3:06 am
i am using table variable ,i know for temp its not gonna work.but i dont have any temp table.
Who told you that for temp tables SSMS show plan is not "gonna" to work?
It does work for temp tables as fine as for table variables. Actually, do you have any good reason to use table variables over temp tables (it's just a question)?
If you could, at least for once, post the query you are talking about at the same time when asking the question, you would have more relevant answers!
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply