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
Removes an operator.
DROP OPERATOR [IF EXISTS] <name> ( {<left_type> | NONE} ,
{<right_type> | NONE} ) [, ...] [CASCADE | RESTRICT]
DROP OPERATOR drops an existing operator from the database system. To run this command you must be the owner of the operator.
Remove the power operator a^b for type integer:
DROP OPERATOR ^ (integer, integer);
Remove the left unary bitwise complement operator ~b for type bit:
DROP OPERATOR ~ (none, bit);
Remove the right unary factorial operator x! for type bigint:
DROP OPERATOR ! (bigint, none);
Remove multiple operators in one command:
DROP OPERATOR ~ (none, bit), ! (bigint, none);
There is no DROP OPERATOR statement in the SQL standard.
See Also ALTER OPERATOR, CREATE OPERATOR