Viewing 15 posts - 106 through 120 (of 237 total)
Hi Sean,
thanks for your reply and i tested all three scenarios and i don't see performance difference.
February 23, 2015 at 8:47 am
Hi Erik,
Here is my confusion, if i use the Sean's suggestion i am in the position to use the same query for two times as i need that output for...
February 23, 2015 at 7:53 am
thanks eric and in that case what i supposed to use? temp table?
February 22, 2015 at 3:14 pm
Great and thanks for the confirmation that there is no performance impact on this query.
February 19, 2015 at 10:54 am
Hi Sean,
thanks for reply and if at all if there is any improvement on the query in which part of execution plan will intimate me. Any suggestion. Can i assume...
February 19, 2015 at 9:22 am
Thank you dude. Mind didn't work on this. appreciate your time
February 14, 2015 at 11:34 am
Hi Eirik,
finally adding spatial index on the geography column help me to speed up the process. am all set. Thanks for your knowledge sharing.
thank you dwain too.
February 10, 2015 at 7:24 pm
Hi Eirik,
This is what i have tried from the thread you shared,
with GEO_DATA AS
(
SELECT
DG.Zipcode,
...
February 10, 2015 at 8:49 am
Wonderful, thanks eric your solution worked.
but, geography function takes time to respond. i have 50000 zipcode in my test table and used below query to get the result.
egin
DECLARE @geo1 geography
,...
February 10, 2015 at 7:53 am
Hi Dwain,
thanks and i tried to understand the geography data type and i am trying to add new column in my table with geography datatype.
alter table Zipcode add...
February 9, 2015 at 9:13 pm
Yes i understand that. Even i tried the below on and produces distance in miles.
CREATE Function [dbo].[CalculateDistance]
(@Longitude1 Decimal(8,5),
@Latitude1 Decimal(8,5),
@Longitude2 Decimal(8,5),
@Latitude2 Decimal(8,5))
Returns Float
As
Begin
Declare @Temp Float
Set...
February 9, 2015 at 7:13 pm
Yes Dwain, Is the below one you are asking?
CREATE FUNCTION HaversineDistance
(@OriginLat FLOAT
,@OriginLong FLOAT
...
February 9, 2015 at 7:02 pm
Hi Dwain,
thanks for your reply and i gone through link. Really it's very high level and am struggling how do i correlate that with my requirement. If possible could you...
February 9, 2015 at 5:57 pm
Hi Nevyn,
thanks for your reply and am sorry that address is not part of my zipcode table. Basically, i need to search the shopping mall/stores based on zipcode. I have...
February 9, 2015 at 3:07 pm
Viewing 15 posts - 106 through 120 (of 237 total)