Quick onboard
Deployment
Data Modeling
Connecting
Migration
Query
Operations and Maintenance
Common Maintenance
Partition
Backup and Restore
Expansion
Mirroring
Resource Management
Security
Monitoring
Performance Tuning
Troubleshooting
Reference Guide
Tool guide
Data type
Storage Engine
Executor
Stream
DR (Disaster Recovery)
Configuration
Index
Extension
SQL Reference
Removes a data access protocol from a database.
DROP PROTOCOL [IF EXISTS] <name>
DROP PROTOCOL removes the specified protocol from a database. You specify a protocol name in the CREATE EXTERNAL TABLE command to read data from or write data to an external data source.
You must be a superuser or the protocol owner to drop a protocol.
Caution
If you drop a data access prococol, external tables that have been defined specifying the protocol will no longer be able to access the external data source.
Dropping a data access protocol, does not drop the protocol's call handlers. You must drop these functions manually.
Be sure to remove any shared libraries that were used by the protocol from the Database hosts.
DROP PROTOCOL is a Database extension.