Viewing 15 posts - 49,576 through 49,590 (of 59,078 total)
jjssilva (6/27/2008)
June 27, 2008 at 8:40 am
Matt Miller (6/27/2008)
June 27, 2008 at 8:37 am
Ummm... you think the use of a While loop is "elegant"? :blink: :Whistling:
June 27, 2008 at 8:32 am
Stephanie Giovannini (6/27/2008)
Hmmm... I suppose the second table is the best way to do it, if I'm allowed to do so. At least I now have ammunition.
Sorry, Stephanie... I have...
June 27, 2008 at 8:30 am
TheSQLGuru (6/27/2008)
June 27, 2008 at 8:09 am
jcrawf02 (6/27/2008)
Sergiy (6/27/2008)
jcrawf02,can you explain this:
ISNULL(count(distinct #PLANDATA_Claim.claimid),0) AS "FFS",What ISNULL is doing here?
I have...
June 27, 2008 at 8:07 am
jcrawf02 (6/27/2008)
Sorry, didn't use that in this example. What I ended up doing in my live version is this:LEFT JOIN #member ON (ISNULL(PLANDATA_Claim.enrollid,ENCOUNTER_Claim.enrollid) = #member.enrollid )
Hmmmm.... I suppose that...
June 27, 2008 at 8:05 am
Heh... wasn't me, Bill... I'm still trying stuff out...
June 27, 2008 at 7:54 am
JohnG (6/27/2008)
yes, I have an accounting degree
Heh... nothing real evil meant here, John... but when I see something like that, I remember all the folks that I've interviewed that had...
June 27, 2008 at 7:50 am
Yuckon (6/27/2008)
Thanks for your input but I think you are missing my point.
The code is made up,
The end user is not the best at writing efficient SQL and I...
June 27, 2008 at 7:39 am
That's the fun part about this world... you looked up things having to do with Records and SQL... that's too much info. Forget about "Archetype Records"... you don't even...
June 27, 2008 at 7:35 am
susan.bartrum (6/26/2008)
I have trawled through lots of sys views and I have not found anything usable yet.
Another tip would be...
When you find a useful MS provided stored procedure such as...
June 27, 2008 at 7:30 am
eddy (6/27/2008)
is not so expensive if you see what you get in return
I've gotta agee there... what you get is proven code with no bugs... Red Gate is real good...
June 27, 2008 at 7:19 am
Careful... using CONVERT to strip the time off the date (1st example) or the date off the time (2nd example) can slow queries down quite a bit.
June 27, 2008 at 7:17 am
Viewing 15 posts - 49,576 through 49,590 (of 59,078 total)