Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Database Engine
Technical Reference
 Point (geometry Data Type)
SQL Server 2008 Books Online (August 2008)
Point (geometry Data Type)

Constructs a geometry instance representing a Point instance from its X and Y values and an SRID.

Point ( X, Y, SRID )
X

Is a float expression representing the X-coordinate of the Point being generated.

Y

Is a float expression representing the Y-coordinate of the Point being generated.

SRID

Is an int expression representing the spatial reference ID (SRID) of the geometry instance you wish to return.

SQL Server return type: geometry

CLR return type: SqlGeometry

The following example uses Point() to create a geometry instance.

DECLARE @g geometry; 
SET @g = geometry::Point(1, 10, 0);
SELECT @g.ToString();
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker