YMatrix
Quick Start
Standard Cluster Deployment
Data Modeling
Connecting to The database
Data Migration
Data Query
Maintenance and Monitoring
Performance Tuning
Troubleshooting
Reference Guide
SQL Reference
FAQ
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.