📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

DROP SPATIAL INDEX



Removes a spatial index in TiDB Cloud Lake.

Syntax

DROP SPATIAL INDEX [IF EXISTS] <index> ON [<database>.]<table>

Examples

CREATE TABLE stores ( store_id INT, store_name STRING, location GEOMETRY, SPATIAL INDEX location_idx (location) ) ENGINE = FUSE; DROP SPATIAL INDEX location_idx ON stores;

Was this page helpful?