DB2 - Problem description
Problem IC96572 | Status: Closed |
CREATE COMPILED FUNCTION/PROCEDURE/TRIGGER FAILS WITH SQL0109 IF ISOLATION LEVEL CLAUSE IS SPECIFIED AND CTE IS REFERENCED | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
Creating a compiled SQL function, compiled SQL trigger or SQL procedure fails with SQL0109 when a query within the object body includes the isolation clause and references a CTE (common table expression). | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * DB2 LUW * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 LUW version 105 fix pack 3 * * or * * Execute set/change isolation level statement prior to * * creating * * function and do not include it in function body * **************************************************************** | |
Local Fix: | |
Execute set/change isolation level statement prior to creating object and do not include it in the object body | |
available fix packs: | |
DB2 Version 10.5 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
DB2 LUW version 105 fix pack 3 function can be created with isolation clause specified | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 02.10.2013 27.02.2014 27.02.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.3 | |
10.5.0.3 |