DB2 - Problembeschreibung
Problem IC93537 | Status: Geschlossen |
CREATE FUNCTION FAILS WITH SQL0109 WHEN QUERY INCLUDES "WITH UR" | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
The create function statement fails with a SQL0109 error when a "With UR" clause is included in a query in the function body. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * SQL Routine Users * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 9.7 Fix Pack 9 * **************************************************************** | |
Local-Fix: | |
The function will create successfully with the "WITH UR" clause removed. The special register Current Isolation can then be set to UR using the command "set current isolation ur" Once the register is set the function should compile using the new isolation level. For additional information on the Current Isolation special register please see the following URL. http://pic.dhe.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2 Fcom.ibm.db2.luw.sql.ref.doc%2Fdoc%2Fr0010945.html For details on the "SET CURRENT ISOLATION" command please see this URL. http://pic.dhe.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2 Fcom.ibm.db2.luw.sql.ref.doc%2Fdoc%2Fr0010944.html | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows | |
Lösung | |
First Fixed in DB2 LUW 9.7 Fix Pack 9, the Fix Pack should be applied to to server. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 25.06.2013 06.01.2014 06.01.2014 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP9, 9.7.FP9 | |
Problem behoben lt. FixList in der Version | |
9.7.0.9 | |
9.7.0.9 |