SQL Server Indexing for Developers Greg Linwood Solid Quality Learning [email protected].
Dr Greg Low Working with SQL Server Spatial Data DAT33 3.
-
Upload
brook-wells -
Category
Documents
-
view
216 -
download
0
Transcript of Dr Greg Low Working with SQL Server Spatial Data DAT33 3.
Dr Greg Low Working with SQL Server Spatial Data DAT33 3 SELECT GEOMETRY::STGeomFromText ('POLYGON ((10 10, 10 20, 20 10, 10 10))',0); CREATE TABLE CustomerLocations ( CustomerID INT PRIMARY KEY, Latitude FLOAT, Longitude FLOAT, Location AS GEOGRAPHY::Point(Latitude,Longitude,4326) PERSISTED ); CREATE SPATIAL INDEX IX_Shapes_Shape ON Shapes(Shape) USING GEOMETRY_GRID WITH (BOUNDING_BOX=(0,0,512,512), GRIDS =(LOW,LOW,LOW,LOW), CELLS_PER_OBJECT = 32); Continue your Ignite learning path Visit Microsoft Virtual Academy for free online training visit https://www.microsoftvirtualacademy.com Visit Channel 9 to access a wide range of Microsoft training and event recordings https://channel9.msdn.com/ Head to the TechNet Eval Centre to download trials of the latest Microsoft products