15.00 - DROP FUNCTION and Statistics - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1184-015K
Language
English (United States)

DROP FUNCTION and Statistics

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.