Viewing 15 posts - 31 through 45 (of 79 total)
I'm confused, a LEFT JOIN returns all the rows from the table, which I don't want..
October 29, 2012 at 4:26 pm
Oh my gosh Jeff, after being puzzled about why the join would affect the execution time so much (Providers table only has 2500 records, Occupations table only 10 records)
.. I...
June 28, 2011 at 10:30 am
Hi Jeff:
- I have the indexes you recommended on my ZipCode table
I implemented your code and it reduced the query times:
OLD TIMES:
~850ms for '10023'
~2600ms for 'V6H 1E2'
NEW TIMES:
~300ms for '48326'
~1100ms...
June 27, 2011 at 3:42 pm
Jeff - Thank you SO much for your help. Your brain power is really impressive. Now I'm reminded why I can't get programming jobs very easily! lol....
June 25, 2011 at 12:48 am
Jeff Moden (6/24/2011)
Please post the code for fnDistance and then I'll tell you why there's such a time difference. I might also be able to tell you how to...
June 24, 2011 at 11:30 am
Jayanth_Kurup (6/24/2011)
June 24, 2011 at 2:52 am
Yes, I will look at the query plan more. However, my general question remains - a radius search with 44k zip records is going to be slower that a...
June 24, 2011 at 2:34 am
Sriram.RM (6/24/2011)
If you want any of us to analyze further into the issue i suggest...
June 24, 2011 at 1:56 am
Sriram.RM (6/24/2011)
Did you re index the table after inserting the records? whats the difference in the execution plan?
Yes, rebuilt indexes.. My guess is that the increased query time makes...
June 24, 2011 at 1:32 am
RE: Gail's article, very good, but I don't think it's necessary for this general question.
June 24, 2011 at 1:16 am
tx for the info, but i didn't understand what you are saying..
August 1, 2010 at 9:59 pm
yes, but HOW to update - re-run the same params as the SELECT query only as an UPDATE query? that seems arduous, and database and processor intensive.
varunfilim (7/19/2010)
You can...
July 19, 2010 at 10:49 pm
Thanks Todd - I have only used the "Max Latitude" limiter cause it was pretty simple. I haven't implemented the other part of the "square" - the max longitude...
October 30, 2009 at 11:47 am
Thanks Dave - My zip code table has about 40,000 records. I now understand and implemented a "latitude limiter"
DECLARE @start_lat float
DECLARE @MaxNorthLat float
DECLARE @MaxSouthLat float
SELECT @start_lat = (SELECT...
October 21, 2009 at 3:58 pm
Viewing 15 posts - 31 through 45 (of 79 total)