DB2 - Problembeschreibung
Problem IT07798 | Status: Geschlossen |
DB2 MIGHT PRODUCE SQL0901N ERROR WHEN EXECUTING QUERY WITH PREDICATES WITH TIMESTAMP DURATIONS | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problembeschreibung: | |
DB2 might produce SQL0901N if the following conditions are true: 1) The query consists of a predicate of form TIMESTAMP <relop> TIMESTAMP 2) <relop> can refer to any relational operator such as =, <>, >, < , etc 3) Either sides of the predicate is either column or constant of type TIMESTAMP or is a function which returns a datatype of TIMESTAMP 4) At least one side of the predicate references some form of time duration arithmetic operation eg. select * from T1 where TScol + current timezone = timestamp(DATE(current timezone + TScol), current_time); Will generate stack similar to this: 0 ossDumpStackTraceInternal 1 ossDumpStackTraceV98 2 OSSTrapFile::dumpEx 3 sqlo_trce 4 sqloDumpDiagInfoHandler 5 __restore_rt 6 pthread_kill 7 ossPthreadKill 8 sqloDumpEDU 9 sqldDumpContext 10 sqlrr_dump_ffdc 11 sqlzeDumpFFDC 12 sqlzeMapZrc 13 sqlrrMapZrc 14 sqlritme 15 sqlriExecThread 16 sqlriSectInvoke 17 sqlriExecOpenThread 18 sqlrr_process_open_request | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * UNKNOWN * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 101 fix pack 5 * **************************************************************** | |
Local-Fix: | |
Lösung | |
The problem was first fixed in DB2 version 101 fix pack 5 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 19.03.2015 12.08.2015 12.08.2015 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.1.0.5 |