Viewing 15 posts - 49,591 through 49,605 (of 59,091 total)
Ummm... you think the use of a While loop is "elegant"? :blink: :Whistling:
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2008 at 8:30 am
TheSQLGuru (6/27/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2008 at 8:05 am
Thanks for the feedback...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2008 at 8:00 am
Heh... wasn't me, Bill... I'm still trying stuff out...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2008 at 7:17 am
jjssilva (6/27/2008)
Jeff Moden (6/26/2008)
jjssilva (6/26/2008)
Check Buffer Cache values. Also, how big are the Databases?The DB shouldn't take more than 80% of the available RAM.
So... what do you do when you...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2008 at 7:15 am
Heh... Hey, Barry! Did I 'splain all that correctly? :hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2008 at 7:10 am
Viewing 15 posts - 49,591 through 49,605 (of 59,091 total)