YMatrix
Quick Start
Cluster Deployment
Data Model
Data Writing
Data Query
SQL Reference
Maintenance and Monitoring
Tool Guide
Troubleshooting
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.