DB2 - Problem description
Problem IT32640 | Status: Closed |
Query fails with SQL0901 "NO CAST FUNCTION" when DB2_ENABLE_MULTIPLE_CCSIDS=TRUE, database is Unicode | |
product: | |
DB2 FOR LUW / DB2FORLUW / B50 - DB2 | |
Problem description: | |
In a Unicode database, if the registry variable DB2_ENABLE_MULTIPLE_CCSIDS=true, queries with parameter markers may fail with SQL0901N The SQL statement or command failed because of a database system error. (Reason "no cast function".) SQLSTATE=58004 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 11.5.5.0 or higher * **************************************************************** | |
Local Fix: | |
Unset DB2_ENABLE_MULTIPLE_CCSIDS | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 24.04.2020 20.11.2020 20.11.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |