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
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