home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC91229 Status: Geschlossen

SQL FUNCTION DEFINER NOT GIVEN WITH GRANT OPTION (CAN LEAD TO ERRORS LIKE
SQL0551N ON LATER GRANT)

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
The definer of a SQL function should be given the WITH GRANT 
OPTION on the function if the definer has 
WITH GRANT OPTION on all privileges required to define the 
function, or if the definer has SYSADM 
or DBADM authority.  However, if all of the following conditions 
are true, the definer is incorrectly 
given only EXECUTE privilege without the WITH GRANT OPTION: 
 
  - The SQL function is inlined 
  - The function definer does not have SYSADM or DBADM authority 
  - SQL function body references one or more procedures 
  - The function definer has the WITH GRANT OPTION on all 
referenced procedures 
 
This can lead to errors like SQL0551N when trying to GRANT 
privileges on such a function. 
 
With the conditions above all true you would see that the 
created function privileges 
in SYSCAT.ROUTINEAUTH would show a 'Y' for the 'EXECUTEAUTH' 
column instead of a 'G'.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.1 fix pack 3                       * 
****************************************************************
Local-Fix:
Explicitly grant EXECUTE privilege WITH GRANT OPTION to the 
function definer
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
First fixed in DB2 version 10.1 fix pack 3
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
02.04.2013
07.10.2013
07.10.2013
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.3 FixList
10.1.0.3 FixList