ST_STARTPOINT
functionsupportedCore SQL functionsReturns the first Point in a LineString.
Syntax
ST_STARTPOINT( <geography_or_geometry_expression> )
Parameters
| Name | Required | Description |
|---|---|---|
geography_or_geometry_expression | required | The argument must be an expression of type GEOGRAPHY or GEOMETRY that represents a LineString. |
Returns
The function returns a value of type GEOGRAPHY or GEOMETRY that contains the first Point of the specified LineString.
Usage notes
- If geography_or_geometry_expression is not a LineString, the function reports an error.