Help Center/
GaussDB(DWS)/
SQL Syntax Reference/
SQL Syntax Reference (8.1.3.x)/
DDL Syntax/
DROP SERVER
Updated on 2024-09-03 GMT+08:00
DROP SERVER
Function
DROP SERVER deletes an existing data server.
Precautions
Only the server owner can delete a server.
Syntax
1
|
DROP SERVER [ IF EXISTS ] server_name [ {CASCADE | RESTRICT} ] ; |
Parameter Description
- IF EXISTS
Sends a notice instead of an error if the specified table does not exist.
- server_name
Specifies the name of a server.
- CASCADE | RESTRICT
- CASCADE: automatically drops objects that depend on the server to be deleted.
- RESTRICT (default): refuses to delete the server if any objects depend on it.
Examples
Delete the hdfs_server server:
1
|
DROP SERVER hdfs_server; |
Helpful Links
Parent topic: DDL Syntax
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot