Viewing 15 posts - 181 through 195 (of 207 total)
Grant Fritchey (12/31/2008)
December 31, 2008 at 3:06 pm
And Jeff's post is better formatted also 😛
December 30, 2008 at 11:39 pm
Jeff Moden (12/30/2008)
December 30, 2008 at 11:28 pm
klini (12/30/2008)
I've meticulously tried to get my varchars to match what I expect the data to look like. I'll now just set everything to 8000 and save myself a...
December 30, 2008 at 8:03 pm
Piotr Rodak (12/30/2008)
RBarryYoung (12/30/2008)
Varchars only store that space that you are actually using.+ 2 bytes to store the length of data;)
P.
Also don't forget that if you have other columns or...
December 30, 2008 at 8:02 pm
OK, now I'm slightly confused. It actually looks like the TOP 1 in the IN statement does make a difference!
Check out the execution plan:
SELECT o.SomeInt
FROM #MyInTable AS o
WHERE o.SomeInt in
(
SELECT...
December 30, 2008 at 7:10 pm
It's interesting looking at the execution plans for the two queries:
SELECT o.SomeInt
FROM #MyInTable AS o
WHERE o.SomeInt in
(
SELECT top 1 p.SomeInt FROM JBMTest AS p
WHERE p.SomeInt = o.SomeInt
)
|--Nested Loops(Left...
December 30, 2008 at 6:53 pm
RBarryYoung (12/30/2008)
December 30, 2008 at 6:51 am
Fixed... sorry about that.
I'll post some observations tomorrow.
December 30, 2008 at 1:51 am
Ummmm... apologies, it seems I've accidently widened the page 🙁
Anyone know how to fix the post?
December 30, 2008 at 12:08 am
Well here is something interesting. Unfortunately, I'm still learning about the underlying database engine (I'm only half way through Karen Delaney's excellent Query Tuning and Optimization book for SQL Server...
December 30, 2008 at 12:06 am
Hmmmm... I think I'm going to definitely test this one out myself!
When I do I'll post my results.
December 29, 2008 at 5:10 am
Steve Jones - Editor (12/25/2008)
At least this wasn't my question!I did think it was cute.
lol, it was 🙂 Definitely brought a smile to my face. And I got 8 points...
December 25, 2008 at 3:52 pm
Oh man... I thought that a PUN was the lowest form of humour. Guess I was wrong 😀
December 25, 2008 at 5:35 am
Good point. I concede the point!
Question was badly asked.
December 17, 2008 at 6:32 am
Viewing 15 posts - 181 through 195 (of 207 total)