ST_SRID

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

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

ST_SRID( <geography_or_geometry_expression> )

Parameters

NameRequiredDescription
geography_or_geometry_expressionrequiredThe argument must be an expression of type GEOGRAPHY or GEOMETRY.

Returns

Returns a value of type NUMBER(4,0).

Usage notes