Viewing 15 posts - 1 through 15 (of 50 total)
Good question.
I didn't realize that the union would affect the first table as well. Was expecting both of the 1's to still be intact and therefore give 5 instead of...
November 27, 2011 at 9:22 am
As always the real answer is test, test and more tests...
But looking at the stats and the output of the 2 statements, I will not be feeling guilty about using...
November 27, 2011 at 8:34 am
Now this is a good question....:-D
From now on I will be more careful when using [] in my code...:w00t:
Thanks for something practical and not another trick question that hides something.
November 22, 2011 at 1:18 am
Thanks for the link SQL Kiwi!
But, is it your favorite?:rolleyes: Am reading through it now....
November 22, 2011 at 12:56 am
Why are there so many questions about SQL Server Code names?
Do I need this for the exams or is this just reminiscing about the 'Good Ole Days'?:hehe:
November 21, 2011 at 1:57 am
I was going to say Good Question and Good Explanation but after reading the posts and trying to understand the rounding, I'm not so sure anymore:doze:
Anyway its still a good...
May 26, 2011 at 10:01 pm
I believe we don't have just the basic indexes because in our OLTP environment, there are just too many inserts into this table and the reports are run only by...
May 12, 2011 at 10:09 pm
Thanks Gail for the explanation. Much appreciated.
To Rich, the only comment I can offer is that in Itzik Ben-Gan's book 'Inside Microsoft SQL Sever 2008:TSQL Querying' (see link in earlier...
May 12, 2011 at 9:53 pm
Sorry for taking so long to reply; I'm replying while at work.
Please see below links:
http://www.sql.co.il/books/insidetsql2008/Logical%20Query%20Processing%20Poster.pdf
http://blogs.x2line.com/al/archive/2007/06/30/3187.aspx
Please could you give your views on this as there are probably...
May 11, 2011 at 12:01 pm
That was my example to show that the IN statement would be quicker. No, there isnt an index on the called number, and the table is huge, but I am...
May 10, 2011 at 8:56 am
Thanks for that Guys.
Its been worrying me since I read in a book that sql will join tables from left to right. I guess they were simply explaining how the...
May 10, 2011 at 8:24 am
That isn't much of a poll....
Please try a search and see what comes up. I would suggest getting Microsoft Certified and that is what I'm doing after reading an excellent...
May 10, 2011 at 2:51 am
Unfortunately it is a big table. If I use = and put the exact wording will that be faster? I will have to put about 7...
May 10, 2011 at 2:36 am
Viewing 15 posts - 1 through 15 (of 50 total)