Viewing 15 posts - 1 through 15 (of 18 total)
I agree with the majority on this discussion. This is a SQL forum, and the "SQL" response to this question is "The Operating System Maximum". 256 is the answer to...
July 16, 2012 at 2:25 am
To quote this question, and the article it refers to:
INERSECT returns "those distinct values that are common between tables"
I have never seen a situation where:
SELECT DISTINCT a.x
FROM a
INNER JOIN...
June 28, 2012 at 6:44 am
Perhaps we are at cross purposes Hugo, I meant tht the result set is the same, regardless of uniqueness. Of course if the values are not unique then there's a...
June 27, 2012 at 2:03 am
Nice question, thanks.
Prior to answering I would have done something like
SELECT DISTINCT x AS 'Intersect Chars with BIGINT'
FROM #A
INNER JOIN #B on #b.M = #a.x
A quick execution plan shows...
June 26, 2012 at 8:09 am
I've been caught out on the QotD before by not reading the question properly, but I agree that the SQL being different to the actual quesiton seemed a little overly...
June 26, 2012 at 4:33 am
I would second that, as the first BOL quote says, a primary key IS created as clustered by default. There's just the "unless there's an additional unique constraint declared as...
June 14, 2012 at 6:31 am
Thanks sknox for some good explanations here. To check I've got this straight ...
The internal casts give us 10 decimal places.
That effectively boils down to:
SELECT ( 1.6757400000 / 10000.0000000000)...
December 10, 2009 at 4:27 am
Tao Klerks (12/2/2009)
December 2, 2009 at 7:35 am
Appolgies for bumping an old post, but I too am looking for useful SSRS books (2008 and 2005 versions). David, do you recommend Teo's book? Did you find any good...
November 24, 2009 at 5:15 am
mohaiv (9/8/2009)
The server can use index when the first part of the index is in the where clause.
I try it and MS SQL server realy use index...
September 8, 2009 at 7:10 am
Good question.
I also answered "1" as I mistakenly thought that it wouldn't scan the index, however it is obvious that the "flag" column isn't in the index so...
September 7, 2009 at 9:37 am
Every question's easy if you know the answer. I was surprised at this one, and got it right on the basis I knew one of my colleagues had got it...
September 2, 2009 at 8:41 am
Chris Harshman (8/20/2009)
August 24, 2009 at 6:42 am
Viewing 15 posts - 1 through 15 (of 18 total)