Viewing 15 posts - 5,686 through 5,700 (of 8,416 total)
Bhuvnesh (3/4/2010)
...code...
Hey! That's the same code I posted but without the TOP 3 or the final ORDER BY! :laugh:
March 4, 2010 at 5:54 am
Yes start-up filters are a favourite of mine too. They come in handy for all sorts of things (conditiional joins, for example). I've found myself using them a...
March 4, 2010 at 5:52 am
Jeff Moden
"Normalize 'til it hurts, denormalize 'til it works.
Yep, good advice! 🙂 😀 😛 😉 :w00t: 😎 :hehe: :angry: :crazy: :doze: :laugh: :rolleyes: :satisfied: :blink: :ermm: :crying: :pinch: :kiss: :Wow:...
March 3, 2010 at 9:06 pm
For general advice, and a solid methodology that works, read This Microsoft White Paper.
March 3, 2010 at 7:46 pm
The documentation for DBCC TRACESTATUS is not particularly well-phrased.
The fact is that a simple:
DBCC TRACESTATUS;
...will show all trace flags enabled for the current session, regardless of whether the trace flag...
March 3, 2010 at 7:43 pm
J.D. Gonzalez (3/2/2010)
...every once in a while (more frequently lately), the insert to this table is blocking other process in other tables.
This is the part that seems remarkable to me.
To...
March 3, 2010 at 7:32 pm
William Plourde (3/3/2010)
Can anybody confirm that statistics being out of whack can cause such voodoo?
Absolutely. The task of the query optimizer is quite hard enough, without it being fed...
March 3, 2010 at 7:14 pm
Just to demonstrate the advantage of OPTION (RECOMPILE):
Note: SQL Server 2008 SP1 CU5 (build 10.00.2746) or later required
USE tempdb;
GO
-- Test table
CREATE TABLE [dbo].[A]
...
March 3, 2010 at 6:44 pm
Barry,
I'm so glad it makes sense to you now!
This has been an excellent thread I think, mainly for the quality of the discussion that led on from the original question....
March 3, 2010 at 6:25 pm
William Plourde (3/3/2010)
March 3, 2010 at 5:59 pm
Unless the procedure is called very frequently, try adding WITH RECOMPILE to its definition. That will re-optimize the procedure for the current parameter values at the cost of, er,...
March 3, 2010 at 9:23 am
Your output data example is wrong :doze:
Either of the following alternatives will work:
SELECT InputSet.ID1,
iTVF.ID2,
...
March 3, 2010 at 9:17 am
HowardW (3/3/2010)
The article you quoted seems to suggest that CU5 includes a 'real' fix:
So it does. Never noticed that before. Good news!
March 3, 2010 at 9:02 am
Roy Ernest (3/3/2010)
LOL @paul-2..That was blow below the belt...!!!
I say things I should only think sometimes :blush: :w00t:
March 3, 2010 at 8:50 am
Viewing 15 posts - 5,686 through 5,700 (of 8,416 total)