suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT29537 Status: Closed

CREATE GLOBAL TEMPORARY TABLE IS IGNORING THE GROUP PRIVILEGES

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
A user who is member of a group  which  has  SELECT  privilege
on the objects  and  then when that user is trying
to  create a   Global Temporary Table  using those  objects
it's  failing with SQL0551N

Creating Global Temp Table (GTT) when the  WITH DATA  clause is
specified is facing the problem.
The users/developers have group level SELECT permissions which
allows them to SELECT from the objects.
However,   DECLARE GLOBAL TEMPORARY  TABLE  using SELECT from
the same objects fail with  :

DB21034E  The command was processed as an SQL statement because
it was not a
valid Command Line Processor command.  During SQL processing it
returned:
SQL0551N  The statement failed because the authorization ID does
not have the
required authorization or privilege to perform the operation.
Authorization
ID: "".  Operation: "SELECT". Object: "".
SQLSTATE=42501
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* ALL                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher                *
****************************************************************
Local Fix:
To get this to work  assign explicit permission on the specific
objects in the SELECT clause to the user invoking the
DECLARE statement.
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
24.06.2019
16.01.2020
16.01.2020
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)