How REPLACE METHOD And CREATE METHOD Differ - 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
ft:locale
en-US
ft:lastEdition
2024-12-13
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
Product Category
Teradata Vantage™

You can perform CREATE METHOD only once to declare the body definition for a method. If you try to use CREATE METHOD a second time to define the body for an existing method, the request aborts and the system returns an error to the requestor.

Instead of using CREATE METHOD to redefine the method body, you must use REPLACE METHOD. REPLACE METHOD can be performed multiple times to replace the body definition for a method.