Dropping a Function For Which Statistics Are Being Collected - 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™

If you drop a UDF, Teradata Database no longer uses any statistics that involve it.

However, if the UDF is recreated with the same name and same return type, Teradata 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.