Viewing 13 posts - 1 through 13 (of 13 total)
Works like a champ. Thank you very much for your assistance !!!
Based on your example, I moved the XML part into the CTE like this:
[code...
May 26, 2018 at 12:41 pm
Thank you Luis and Chris. I think this should work and I appreciate your assistance. This site is full of knowledgeable
and helpful people !!
If anyone...
January 23, 2017 at 8:54 am
January 20, 2017 at 12:28 pm
Looks like that should do it .. exactly was I was trying to accomplish.
Thank you very much !!!
December 29, 2015 at 9:25 am
I was able to work at home this weekend and found the answer. When calling
at UDF that does not access any database table and is used more like a...
October 15, 2012 at 11:46 am
No I didn't think of that - I gave it a shot and it works like a charm. Thank
you so much for the help !!
August 8, 2011 at 9:10 am
Andrew -
I couldn't get the last sample to work but the one you last
posted works great. I'll pop that into my sproc today.
I tossed a "having count(*)...
April 16, 2009 at 7:21 am
Sergiy -
The average would be 2.6 - ( (3.2 + 2.0) / 2 ) using the
"labvalue" field.
Todd
April 15, 2009 at 2:05 pm
Thanks a lot Greg,
Your code works great and I'll use it as a solution !!
Todd
April 15, 2009 at 11:29 am
Andrew -
Thanks for the suggestion but the "top" clause appears
to literally return 2 rows - not 2 rows per member.
Jeffrey -
The query should not be data dependent,...
April 14, 2009 at 4:15 pm
Jetro -
Thanks for the great solution but unfortunately I am still using SQL server 2000
and have no row_numbers !!! Any other ideas ??
Thanks
Todd
April 14, 2009 at 3:46 pm
Jeffrey -
Thank you for the reply. I see that your solution will work if the lab
values are there every month, but what if they skip one or two...
April 14, 2009 at 3:08 pm
Viewing 13 posts - 1 through 13 (of 13 total)