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