Viewing 15 posts - 18,856 through 18,870 (of 22,202 total)
I expected it to perform the join inside a sub-select and then select from the result set as a single set of values. That would have helped explain why it...
January 5, 2009 at 11:55 am
I'm not sure, I haven't worked with Entity Framework much. What does it do when it has to do a JOIN between two tables?
January 5, 2009 at 11:33 am
I'll bet the execution plan for both is the same.
It's a messy way to write procedures, at least for really simple things like this, but it's not going to add...
January 5, 2009 at 11:00 am
Michael Earl (1/5/2009)
Eric Klovning posted a great response in this thread:http://www.sqlservercentral.com/Forums/Topic629445-145-1.aspx
It was a link to:
http://letmegooglethatforyou.com/?q=free+open+source+sql+schema+diff+tool
That gave me a really good laugh first thing this morning. I think that's a pretty...
January 5, 2009 at 10:55 am
Ah, I didn't go back and look at the execution plan again.
January 5, 2009 at 10:52 am
Hey Jack,
Yeah, OPTIMIZE FOR is actually more than a little big dangerous. What happens when the underlying statistics change? You have to constantly review the work you did with it.
I...
January 5, 2009 at 8:57 am
RBarryYoung (1/5/2009)
Actually, I heard from someone at PASS that WITH RECOMPILE does not work reliably for this problem in SQL2005, but "is fixed" in SQL 2008.
WITH RECOMPILE was never a...
January 5, 2009 at 8:46 am
You can also use the OPTIMIZE FOR query hint as a way to force the plan down an optimal path.
January 5, 2009 at 8:44 am
Or Jack.
Or you for that matter.
I might though.
January 5, 2009 at 8:41 am
After migrating it's pretty strongly suggested that you update statistics with a full scan on all the tables in a database. Did you do this?
January 5, 2009 at 6:55 am
I think Barry's right. It's probably parameter sniffing.
Compare both execution plans. See what's different between the two.
January 5, 2009 at 6:48 am
Why do you need it to be in a single statement?
January 5, 2009 at 6:45 am
Eric Klovning (1/5/2009)
you might try this:http://letmegooglethatforyou.com/?q=free+open+source+sql+schema+diff+tool
That's pretty cool. Gave me a laugh.
Just a suggestion on the original question, you might take a look at Red Gate's SQL Compare. It's not...
January 5, 2009 at 6:42 am
Monitoring stored procedures is best done by running what is called a server side trace. You can use the tool "Profiler" to define the trace and then script it out...
January 5, 2009 at 6:39 am
Keep hacking away at it, you'll arrive at something useful. In the mean time, you might want to pick up a book on database design. The one I like is...
January 5, 2009 at 6:29 am
Viewing 15 posts - 18,856 through 18,870 (of 22,202 total)