15.10 - Example: Dropping an External Function by Function Name or Specific Function Name - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Release Date
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

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