i have a dbgeography column in sql server which stores latitude and longitude information. I want to extract latitude or longitude information using sql query but i couldn't find a way to do so. How could it be done?
No C# code.
Does something like this work?
select Location.Lat, Location.Long from GeographyTable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With