HomeDB2DB2 Error Code – -405 the numeric literal literal cannot be used as specified because it is out of range

DB2 Error Code – -405 the numeric literal literal cannot be used as specified because it is out of range

In this post, you’ll learn about the error message -405 the numeric literal literal cannot be used as specified because it is out of range in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-405 the numeric literal literal cannot be used as specified because it is out of range

Reason for the Error

The specified numeric literal is not in the proper range.� The proper ranges for SQL values are as follows:� *�� 5.4E-79 to 7.2E+75 for FLOAT values *�� -(10 -1) to +(10 -1) for DECIMAL values *�� -2147483648 to 2147483647 for INTEGER values *�� -32768 to +32767 for small integer (SMALLINT) values.

Solution

The value of the literal should be reduced to the appropriate size for this data type.

Share:

Leave a Reply

You May Also Like

In this post, you’ll learn about the error message -952 processing was interrupted by a cancel request from a client...
  • DB2
  • November 21, 2022
In this post, you’ll learn about the error message -927 the langrage interface was called when the connecting environment was...
  • DB2
  • November 21, 2022
In this post, you’ll learn about the error message -926 rollback not valid in ims/vs or cics environment in the...
  • DB2
  • November 21, 2022