Purpose
This statement is used to drop a location object.
Privilege requirements
To execute the DROP LOCATION statement, the current user must have the CREATE LOCATION privilege. For more information about OceanBase AI Database privileges, see Permission classification.
Syntax
DROP LOCATION location_name;
Parameters
Parameters |
Description |
|---|---|
| location_name | The name of the Location object to be deleted. |
Examples
Delete the test_location_local Location object.
obclient> DROP LOCATION test_location_local;
References
For information about viewing the location object information of the current tenant, see SHOW.