Viewing 15 posts - 121 through 135 (of 153 total)
just because i said i would, here are the stats for the alternative formulations of the query you wrote for me. Option 3 wins (also had the unintended benefit of...
August 24, 2011 at 8:54 am
thanks very much; i'll do that.
August 23, 2011 at 8:39 am
GilaMonster (8/17/2011)
They're not openable in BIDs, download the DTS designer from the resource pack site and you can open...
August 17, 2011 at 10:37 am
Jeff Moden (8/16/2011)
**** Even advertised and supported features such as DTS really take it in the shorts when new revisions of SQL Server come out.
call me schtummie, but i was...
August 17, 2011 at 10:35 am
i think i found the elephant in the livingroom...
i am embarrassed to say that in looking at the following i feel like a dunce...there's no excuse for these except that...
August 16, 2011 at 10:24 am
ChrisM@Work (8/15/2011)
drew.georgopulos (8/12/2011)
Holy Good Night...that sure is a lot more readable!I am not sure if the distinct is necessary or not.
Thank you for your work
drew
Should be quite a bit faster...
August 15, 2011 at 9:39 pm
GilaMonster (8/12/2011)
You can't include columns in a clustered index. The cluster by definition includes all columns in a table.Some more reading for you, if you want:
http://www.sqlservercentral.com/articles/Indexing/68563/
http://www.sqlservercentral.com/articles/Indexing/68636/
http://sqlinthewild.co.za/index.php/2009/02/06/index-columns-selectivity-and-inequality-predicates/
not only were these absolutely...
August 15, 2011 at 9:32 pm
Holy Good Night...that sure is a lot more readable!
I am not sure if the distinct is necessary or not.
Thank you for your work
drew
August 12, 2011 at 1:03 pm
thank you for the additional reading, i will do it over the weekend.
drew
August 12, 2011 at 12:59 pm
Great article, thanks for it.
http://sqlinthewild.co.za/index.php/2010/09/14/one-wide-index-or-multiple-narrow-indexes/
i will create the ci with effective date, term date and include dx1.
August 11, 2011 at 4:07 pm
The example values would be 200906 201006 (year to year June 2009 through June 2010)
August 11, 2011 at 3:55 pm
I will read the cite.
My speculation was founded (again on the misapprehension?) that including the date and diagnoses ranges would make the index the most selective it could be.
August 11, 2011 at 3:52 pm
<<Yeah, that much I got...
Are the columns datetime or something else?
Are the parameters datetime or something else?
What are those start and end dates? Date with no time? Date with...
August 11, 2011 at 3:46 pm
<<If you need help there I can refformat that whole proc in 10 seconds for you... just let me know.
Do you still need help with this problem (tuning wise)? >>
I...
August 11, 2011 at 3:40 pm
Hello Gail;
@start and @enddates are collected by ccr0_BuildApproach and passed to each called sproc
exec sp_ccr2_encounter_table_ageAndsex @start_dt = @start_dt_master, @end_dt = @end_dt_master, @anchor_dt = @anchor_dt_master
then they are used in the called...
August 11, 2011 at 3:23 pm
Viewing 15 posts - 121 through 135 (of 153 total)