Dropping A Method - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
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.