DB2 - Problembeschreibung
Problem IC65641 | Status: Geschlossen |
AMBIGUOUS CURSOR IS DELETABLE BUT NOT UPDATABLE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problembeschreibung: | |
Description: DECLARE CURSOR results in an ambiguous cursor if each of the following are true: - the select-statement is dynamically prepared - the select-statement does not include either the FOR READ ONLYclause or the FOR UPDATE clause - the LANGLEVEL bind option is SAA1 - the cursor otherwise satisfies the conditions of a deletable cursor If the static package is bound with BLOCKING UNAMBIG or BLOCKING NO, the cursor should be updatable but it is not, it is only marked as deletable. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * DECLARE CURSOR results in an ambiguous cursor * * if each of the following are true: * * * * - the select-statement is dynamically prepared * * - the select-statement does not include either the FOR READ * * ONLY clause or the FOR UPDATE clause * * - the LANGLEVEL bind option is SAA1 * * - the cursor otherwise satisfies the conditions of a * * deletable cursor * * * * If the static package is bound with BLOCKING UNAMBIG or * * BLOCKING NO, the cursor should be updatable but it is not, * * it is only marked as deletable. * **************************************************************** * RECOMMENDATION: * * If the cursor needs to be updatable, either add a FOR UPDATE * * clause to the query or change the LANGLEVEL bind option to * * MIA or SQL92E. * **************************************************************** | |
Local-Fix: | |
If the cursor needs to be updatable, either add a FOR UPDATE clause to the query or change the LANGLEVEL bind option to MIA or SQL92E. | |
verfügbare FixPacks: | |
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows | |
Lösung | |
Permanent restriction | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Kommentar | |
This will be a permanent Restriction and not fixed. | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 18.01.2010 26.05.2010 26.05.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version |