Viewing 15 posts - 46 through 60 (of 1,155 total)
<<
Think of a book and imagine that the page numbers are the clustering key. I cut the pages out of a book, mix them up and drop them on the...
October 29, 2009 at 3:45 pm
When you discard query results you dont get any information back to the client (SSMS).
October 15, 2009 at 9:01 am
For those interested in the performance impact of each concatenation method, I blogged about this some time ago. The XML method consistently does better for reads and IO. I...
October 15, 2009 at 8:14 am
Tom Winter (10/14/2009)
I like the use of ROW_NUMBER() OVER to get rid of the STUFF. Does anyone have an idea which would be faster?
My guess is stuff. Anytime the...
October 14, 2009 at 8:43 am
joe.strollo (10/14/2009)
-- Fill a temporary table variable with the data in the example
DECLARE @TempTable TABLE
(idx...
October 14, 2009 at 7:33 am
Tom Winter (10/14/2009)
One other...
October 14, 2009 at 7:25 am
Great post Jeff!!! 🙂
One thing to note on performance. The PIVOT operator is actually processing a cross tab query under the hood, so the performance is identical for...
October 2, 2009 at 9:46 am
mjarsaniya (8/19/2009)
why to do so many homework.........(creating tamp table take value in it then copy)you simply select @variablename (As previously I have given )
and then take it to text editor.........
For...
August 19, 2009 at 8:36 am
Referring to the last post about the XML FOR PATH functionality, this is very interesting, but it has one issue: when you have the "" characters in the string, it...
July 29, 2009 at 2:59 pm
I too have faced this problem. The easiest method I have found is to set the string variable to an xml variable. You can select the variable and...
July 29, 2009 at 11:30 am
Scott Jacobson (7/20/2009)
David mentions that he discovered these in training materials for SQL 2008. Were INTERSECT and EXCEPT not introduced in SQL 2005 and as such, just...
July 20, 2009 at 11:07 am
Jeff Moden (7/19/2009)
Why would anyone think that INTERSECT is easier than INNER JOIN?
Jeff,
In some cases intersect is easier to use than inner join, if you want to compare resultsets. ...
July 20, 2009 at 7:51 am
Great job Wayne! This article is definitely a good read. 🙂
June 10, 2009 at 9:28 am
Great article Jonathan! The article is easy to read, informative, and concise.
Great Job.
February 3, 2009 at 8:04 am
Viewing 15 posts - 46 through 60 (of 1,155 total)