Dropping A Method - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

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.