Viewing 15 posts - 106 through 120 (of 223 total)
Million thanks, Jeff. I look forward to trying it out your sql solution.
As I'm sure you've heard from many others before, your thoroughness of tackling a problem is really something...
May 10, 2011 at 9:24 am
Jeff Moden (5/9/2011)
peterzeke (5/6/2011)
May 9, 2011 at 8:20 pm
WayneS (5/9/2011)
I used to use an XML splitter all the time... that is, until Jeff showed me the light. There is a thread on here somewhere that discusses it, but...
May 9, 2011 at 10:48 am
Excellent citations!
Jeff, your "older" article about concantenation has the following comment regarding the final XML concantenation solution:
I normally warn against using correlated sub-queries, but the following just absolutely flies (no...
May 9, 2011 at 7:56 am
Jeff/Wayne:
Many thanks for your replies! Hearing from the two of you is an honor. I had pondered using SQL from Jeff's tally-based splitting functions, but couldn't figure out how to...
May 9, 2011 at 7:11 am
It appears I've found one solution which I should be able to put into a udf:
DECLARE @STRING VARCHAR(8000)
SET @STRING = 'COMMUNITY GENERAL HOSPITAL'
DECLARE @TEXTXML XML
SELECT @textXML = cast('<d>' +...
May 6, 2011 at 9:48 am
Mark-101232 (3/16/2011)
WITH CTE AS (
SELECT ProcessID, Month, Compliant,
ROW_NUMBER() OVER(PARTITION BY...
March 16, 2011 at 7:28 am
Mark,
Just before you provided the second query solution, I actually started reading up on gaps and islands --I just didn't get a chance to put something to the test. (At...
March 16, 2011 at 7:19 am
Marrrrrrk!
OK, I'm completely jazzed by the elegance of the query. Reminds me of the various techniques I've seen by Itzik Ben-Gan leveraging row_number() and other ranking functions.
So, was...
March 15, 2011 at 12:36 pm
Mark - your query solution is great. I was leaning towards a cte and row_number(), but your technique with correlating a query using EXISTS provides the missing piece that eluded...
March 15, 2011 at 11:31 am
shaikh.kurshid (2/8/2011)
what is dmv ?can a non- clustered index provides better performance than clustered index.
Pls let me know
Gail Shaw (aka GilaMonster) wrote a very nice three part series of...
February 8, 2011 at 8:04 am
Thank you for the replies. I was concerned that the nonclustered indexes might merely create overhead without any expected querying benefit. Good to know that it can be ok to...
February 1, 2011 at 12:05 pm
RonKyle (12/22/2010)
....The record would need some kind of active flag as well because the normal count function would not work in this case.
Good point. By including "differential" records, counts can...
December 22, 2010 at 7:24 am
abidsikandar (12/22/2010)
is it for dynamic tree? if you increase or decrease the level of tree what happen then ?
The sample report that Jack & I shared merely achieves "the look"...
December 22, 2010 at 6:53 am
Growing up with parents who have masters degree in music has placed music as a core feature in my life. So, more often than not, I have a pair of...
December 3, 2010 at 6:22 am
Viewing 15 posts - 106 through 120 (of 223 total)