YMatrix
Quick Start
Connecting
Benchmarks
Deployment
Data Usage
Manage Clusters
Upgrade
Global Maintenance
Expansion
Monitoring
Security
Best Practice
Technical Principles
Data Type
Storage Engine
Execution Engine
Streaming Engine(Domino)
MARS3 Index
Extension
Advanced Features
Advanced Query
Federal Query
Grafana
Backup and Restore
Disaster Recovery
Guide
Performance Tuning
Troubleshooting
Tools
Configuration Parameters
SQL Reference
Delete user maps from external servers.
DROP USER MAPPING [ IF EXISTS ] { username | USER | CURRENT_USER | PUBLIC }
SERVER servername
DROP USER MAPPING removes existing user maps from external servers. To execute this command, the current user must be the owner of the server containing the map.
IF EXISTS
username
servername
Delete the user map named bob, if it exists, delete the server foo:
DROP USER MAPPING IF EXISTS FOR bob SERVER foo;
DROP SERVER complies with ISO/IEC 9075-9 (SQL/MED). The IF EXISTS clause is a YMatrix database extension.