Hi,
Can I write macro {% Settings.EnteredLocationLatitude #%} inside Select query like below.In the first column I am calling a function, which will give me the distance. But it is throwing error.
If not possible this way, could you please tell me how to pass some value in that function, which is not static value? SELECT DISTINCT
[dbo].[Func_Cms_GetDistance](ISNULL(CL.LocationLatitude, 0), ISNULL(CL.LocationLongitude, 0), {% Settings.EnteredLocationLatitude #%},'-104.990251') as distance
,CL.LocationName,CL.LocationAddress,CL.LocationCity,CL.LocationState,CL.LocationZip
FROM custom_Location CL
Thanks,
Joyanta
↧