Working with Columns and Statistics - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Dropping a Column and Statistics

Before you can drop a column using an ALTER TABLE statement, you must drop any statistics on the column.

Changing a Column Data Type and Statistics

If you change a column data type using an ALTER TABLE request, the statistics on a base table that reference the column are no longer used. Recollecting the statistics on the modified column makes the statistics usable again.