54.9 SPATIAL_IS_AVAILABLE Function

This function returns whether spatial is available in the database.

Syntax

APEX_SPATIAL.SPATIAL_IS_AVAILABLE (
    spatial_is_available )
RETURN BOOLEAN;

Returns

Parameter Description
* True when spatial (SDO_GEOMETRY) is available in the database. Otherwise, false.

Example

The following example prints whether spatial is available.

BEGIN
    sys.dbms_output.put_line (
    case when apex_spatial.spatial_is_available then 'TRUE' end );
END;