- specific_function_name
- Specific function name for the external or SQL function to drop.
- database_name
- Name of the containing database for specific_function_name, if different from the current database.
- user_name
- Name of the containing user for specific_function_name, if different from the current user.
Example: Dropping an SQL Function
These examples drop an SQL function and a specific SQL function.
DROP FUNCTION udf2 (INTEGER, INTEGER); DROP SPECIFIC FUNCTION specific_udf2;
Example: Dropping an External Function by Function Name or Specific Function Name
You can drop a function definition using either its function name or its specific function name. For example, consider the following function definition.
CREATE FUNCTION Finger_Print_Match(VARBYTE(1000), VARBYTE(1000)) RETURNS INTEGER SPECIFIC fpm1 LANGUAGE C NO SQL PARAMETER STYLE TD_GENERAL EXTERNAL;
Either of the following DROP FUNCTION requests drops its definition, the first using its specific function name and the second using its function name.
DROP SPECIFIC FUNCTION fpm1; DROP FUNCTION Finger_print_Match(VARBYTE, VARBYTE);