Home SQL Server geography result format
Reply: 0

SQL Server geography result format

user473
1#
user473 Published in April 27, 2018, 6:51 am

Using SQL Server Management Studio:

declare @g geography
set @g = geography::Point(-77.1851436,39.1065236,4326)
select @g

returns

0xE6100000010C14C48A64D94B53C04820B990A28D4340

What format is this result? I know that it is not STAsBinary() - that returns

0x01010000004820B990A28D434014C48A64D94B53C0

Is there a way to create the 0xE61... value using C#?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.325778 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO