Numeric Overflow in Reports | Basic Teradata Query - Numeric Overflow in Reports - Basic Teradata Query

Basic Teradata® Query Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Basic Teradata Query
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2025-04-02
dita:mapPath
gxl1691484661681.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
psp1479308573013
Product Category
Teradata Tools and Utilities

When in Field Mode, a numeric overflow error returned for numeric or decimal data types in a report, is reported as '***' instead of 'Error.... etc.' The following query returns the correct format because the format accommodates the number of digits returned:

SELECT cast (123456 as integer format '$999,999');

The result is:

  123456
$123,456

But the next query returns an overflow reported as asterisks '***...':

SELECT CAST (123456 as integer format '$99,999');

The result is:

 123456
*******

If the same query is executed in Record or Indicator Mode, the numeric overflow is reported as an error, the preferred response.