Viewing 15 posts - 2,491 through 2,505 (of 8,416 total)
hallidayd (10/12/2010)
I remember also Rob Farley submitting a connect request to make some functions sargable since, logically, they could be: http://msmvps.com/blogs/robfarley/archive/2010/01/22/sargable-functions-in-sql-server.aspx
Yes, Rob and I had a very interesting discussion about...
October 12, 2010 at 5:30 pm
Chris Morris-439714 (10/12/2010)
I'm going to try for a brownie point
I'm off to bed now, having contributed somewhat to messing up this thread. Before I go, I'll just explain what...
October 12, 2010 at 10:41 am
WayneS (10/12/2010)
I think instead of clearing the fog, we've managed to make it denser. :w00t:
Ah I see that thread is fully doomed now - Chris Morris has arrived :w00t:
October 12, 2010 at 10:22 am
HowardW (10/12/2010)
Ahhhhh, that'll teach me not to read the create table statement properly. Yes, with a indexed computed column it makes perfect sense.
Good. The dynamic nature of the seek...
October 12, 2010 at 10:15 am
jcrawf02 (10/12/2010)
I'm not sure that anybody jumping in (cough* Paul *cough) cleared any fog there...
I started off with good intentions, but it kinda got away from me 😀
jcrawf02 (10/12/2010)
October 12, 2010 at 10:09 am
HowardW (10/12/2010)
Mind=Blown 😀
Excellent. My work here is done :laugh:
HowardW (10/12/2010)
October 12, 2010 at 10:01 am
Gianluca Sartori (10/12/2010)
Or, like me, question everything he pretends to know! 😛
While I'm messing with your head, how about this:
"LIKE is not SARGable".
It really isn't 🙂
October 12, 2010 at 9:54 am
HowardW (10/12/2010)
I wonder if the confusion arises due to the ISNULL function being non-SARGable?
Quite possibly, but now I have to show you ISNULL being 'SARGed'...
IF OBJECT_ID('Tempdb..#sargTest') IS NOT NULL DROP...
October 12, 2010 at 9:41 am
Dave Ballantyne (10/12/2010)
It depends 🙂Both are sargable, depending on the data being selected and the estimated rows
No it doesn't depend at all.
An expression is either SARGable or it's not.
SARGable means...
October 12, 2010 at 9:37 am
Gianluca Sartori (10/12/2010)
What I find surprising, is the predicate "IS NOT NULL" using an index seek.
If you look in the Properties window when the Index Seek iterator is selected, and...
October 12, 2010 at 9:24 am
hallidayd (10/12/2010)
Before seeing this thread, I'd never considered that anyone might think otherwise.
Brad McGhee did in 2007, and he's no thicky pants.
I was referring to my personal experience, not...
October 12, 2010 at 9:06 am
WayneS (10/12/2010)
October 12, 2010 at 9:00 am
Gianluca Sartori (10/12/2010)
October 12, 2010 at 8:45 am
GilaMonster (10/12/2010)
...anyone using that for interviews has likely done themselves more harm than good.
Unless the interviewer provided one of those answers...:pinch:
Yikes.
October 12, 2010 at 6:20 am
GilaMonster (10/11/2010)
That I found a disprovable myth stated as truth on an MSDN blog didn't help.
I know you want to provide a link to that 🙂
GilaMonster (10/11/2010)
October 12, 2010 at 2:13 am
Viewing 15 posts - 2,491 through 2,505 (of 8,416 total)