Summary


Table E.1 summarizes the privileges required by the developers and users when different types of SQL statements are used in DB2 LUW, DB2 for iSeries and for zSeries.

Table E.1. Summary of Privileges
 

GROUP

DYNAMIC SQLs

STATIC SQLs

LUW

Developers

BINDADD & Table privileges granted to individual developer or to developer group.

BINDADD & Table privileges granted to individual developer or to PUBLIC.

 

Users

EXECUTE & Table privileges granted to individual developer or to developer group.

EXECUTE

iSeries

Developers

Administrative Authority or

*USE privilege on the CRTPGM command, create in schema for the target schema, INSERT privilege on SYSPARMS, and *EXECUTE on QSYS2 &.

Table privileges granted to individual developer or to PUBLIC.

Administrative Authority or

*USE privilege on the CRTPGM command, create in schema for the target schema, INSERT privilege on SYSPARMS, and *EXECUTE on QSYS2 &.

Table privileges granted to individual developer or to PUBLIC.

 

Users

*EXECUTE on the procedure & Table privileges granted to individual developer or to PUBLIC.

*EXECUTE on the procedure.

zSeries (simplified)

Developers (implementers and definers)

BINDADD & Table privileges granted to individual developer or to developer group.

&

Depends on value of DYNAMICRULES: DEFINEBIND DEFINERUN INVOKEBIND INVOKERUN

BINDADD & Table privileges granted to individual developer or to developer group.

 

Users (invokers)

EXECUTE & Table privileges granted to individual developer or to developer group.

EXECUTE




    DB2 SQL PL. Deployment and Advanced Configuration Essential Guide for DB2 UDB on Linux., UNIX, Windows, i5. OS, z. OS
    Intelligent Enterprises of the 21st Century
    ISBN: N/A
    EAN: 2147483647
    Year: 2003
    Pages: 205

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net