GEOGRAPHY data type created from specified longitude and latitude coordinates.
Coordinate validation and wrapping is applied as explained in the GEOGRAPHY type documentation.
Syntax
Parameters
Return Type
ST_GEOGPOINT returns a value of type GEOGRAPHY.
Example
The following code example constructs a Point in theGEOGRAPHY data type from longitude and latitude coordinates and converts it to WKT format:
Rows: 1Execution time: 8.84ms