Dropping a Function For Which Statistics Are Being Collected - 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
2023-07-11
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1184
lifecycle
latest
Product Category
Teradata Vantage™

If you drop a UDF, the database no longer uses any statistics that involve it.

However, if the UDF is recreated with the same name and same return type, the database uses the statistics again.

If you change the functionality of the UDF however, you should recollect all of the statistics that had previously been collected on it.