17.10 - Dropping A Method - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1184-171K
Language
English (United States)

There is no DROP METHOD statement that you can use to drop a method body.

Instead, what you must do to drop a method is use the DROP METHOD or DROP SPECIFIC METHOD option of the ALTER TYPE statement (see ALTER TYPE) to drop the method signature from its type definition. This action also drops the external routine for the specified method.

You can also use the REPLACE METHOD statement (see REPLACE METHOD) to replace a method body.