Teradata Database Message 9175 - 17.10 - 9175 - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Messages

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1096-171K
Language
English (United States)
Message
Table %VSTR must be empty to decrease precision or scale.
Explanation
Precision and scale for a number column cannot be decreased by a ALTER TABLE statement when the table is non-empty.
Generated By
OPD modules.
For Whom
End User.
Notes
None
Remedy
If the precision/scale needs to be decreased for a number column, delete all the rows in the table.