- Categories:
ST_SRID¶
Returns the SRID (spatial reference system identifier) of a GEOGRAPHY or GEOMETRY object.
Currently, for any value of the GEOGRAPHY type, only SRID 4326 is supported and is returned.
Syntax¶
Arguments¶
geography_or_geometry_expressionThe argument must be an expression of type GEOGRAPHY or GEOMETRY.
Returns¶
Returns a value of type NUMBER(4,0).
Usage notes¶
Returns NULL if the input is NULL.
Examples¶
GEOGRAPHY examples¶
This shows a simple use of the ST_SRID function:
This shows use of the ST_SRID function with NULL values: