I currently work with Postgres database with the Spatial component installed is there a difference in spatial functionality between Postgres with Spatial and the latest Microsoft SQL Server version?
-
1What problems do you have that you think will be solved with SQL Server?user330315– user3303152018-10-03 07:01:26 +00:00Commented Oct 3, 2018 at 7:01
-
Our company use at this moment PostGres for building shapes and geo map layers. We use therefor the GeoSpatial modulle within Postgres. The plan is to move to the Microsoft Azure and work with Azure SQL Database. But i don't know what the impact on functional level.Erik hoeven– Erik hoeven2018-10-03 10:01:30 +00:00Commented Oct 3, 2018 at 10:01
-
You can get Postgres (not PostGres) on Azure as well: azure.microsoft.com/en-us/services/postgresql (I assume you are referring to PostGIS when you talk about "geo spatial module2?)user330315– user3303152018-10-03 10:05:34 +00:00Commented Oct 3, 2018 at 10:05
Add a comment
|
1 Answer
There are slight difference, basic function are the same (st_distance, st_equal). Postgis have some function that SQL Server doesn't have (like st_clusterkmeans). Sql server function are named STXXX, where postgis function are named ST_XXX.
So in term of function you'll not be lost, bu in term of SQL, postgres use PLpgSQL where SQL Server use T-SQL. You can see example of sql server basic request here
3 Comments
Erik hoeven
Thanks for your answers
Rémi Desgrange
@a_horse_with_no_nameyou're right the term "use" was not appropriate here.