YMatrix
Quick Start
Standard Cluster Deployment
Data Modeling
Connecting to The database
Data Migration
Data Query
Maintenance and Monitoring
Performance Tuning
Troubleshooting
Reference Guide
SQL Reference
FAQ
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.