DB2 - Problem description
Problem IT24989 | Status: Closed |
SQL0420N ERROR MIGHT OCCUR WHEN RUNNING UPDATE STATEMENTS CONTAINING SCALAR SUB-QUERIES | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
SQL0420N Error Might Occur When Running Update Statements Containing Scalar Sub-queries DB2 users might observe SQL0420N error when running an update statement with the following characteristics: 1. the update statement contains at least one scalar sub-query 2. the scalar-subquery has correlated predicates 3. the select list in the scalar-subquery contains CAST functions that converts character strings to numbers 4. the character string columns under conversion contain characters that cannot be converted to numbers 5. the correlated predicates in the scalar sub-query can filter out the rows containing characters that cannot be converted to numbers | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 11.1 Mod 4 Fixpack 4 or higher * **************************************************************** | |
Local Fix: | |
Work-around: db2set -im DB2COMPOPT=NO_SCALARQ2LOJ | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 08.05.2018 27.11.2018 27.11.2018 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |