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
Delete the function.
DROP FUNCTION [IF EXISTS] name ( [ [argmode] [argname] argtype
[, ...] ] ) [CASCADE | RESTRICT]
DROP FUNCTION deletes the definition of an existing function. To execute this command, the user must be the owner of the function. The parameter type of the function must be specified, because there may be multiple different functions with the same name and different parameter lists.
IF EXISTS
name
argmode
argname
argtype
CASCADE
RESTRICT
Delete the square root function:
DROP FUNCTION sqrt(integer);
The DROP FUNCTION statement is defined in the SQL standard, but this command is incompatible with this command.