DB2 - Problem description
Problem IC85491 | Status: Closed |
SQLSTATE RETURNED FOR MISSING TABLE/VIEW IS INCORRECT ? RETURNS D42S22 (COLUMN NOT FOUND) INSTEAD OF D42S02 (TABLE NOT FOUND). | |
product: | |
DB2 CONNECT / DB2CONNCT / 970 - DB2 | |
Problem description: | |
In case of Informix Server (IDS) when trying through cli driver on a query of invalid table , scenarios like table no present when tried to drop table. When tried to create index on a table which is not present it should return error S0002 but it was returning error code S0022 which is for invalid columns in case of db2 . | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * When CLI driver is used against Informix Server. * **************************************************************** * PROBLEM DESCRIPTION: * * In case of Informix Server (IDS) when trying through cli * * driver * * on a query of invalid table , scenarios like table no * * present * * when tried to drop table. When tried to create index on a * * table * * which is not present it should return error S0002 but it was * * returning error code S0022 which is for invalid columns in * * case * * of db2 . * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.7 FP7 or later releases. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows | |
Solution | |
DB2 V9.7 Fix Pack 7 contains fix of this issue. After the fix, CLI driver returns correct error message. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 24.07.2012 30.08.2014 30.08.2014 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP7 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.7 |