Quick onboard
Deployment
Data Modeling
Connection
Migration
Query
Operations and Maintenance
Common Maintenance
Partition
Backup and Restore
Expansion
Monitoring
Performance Tuning
Troubleshooting
Reference Guide
Tool guide
Data Type
Storage Engine
Executor
Stream
DR (Disaster Recovery)
Configuration
Index
Extension
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.