IBM Support

IC75376: Table protected with the policy has dropped the select statement for the same table gives error "SQL20264N"

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • When the table protected with the policy has dropped "alter
    table drop security policy" the select statement for the same
    table gives the error "SQL20264N" as shown below.
    
    SQL20264N :
    For table table-name, authorization ID auth-id does not have
    access-type access to the column column-name.
    
    The reason for the error "SQL20264N" :The same access plan is
    used when the select statement is called on the same table after
    policy drop "alter table drop security policy" is detected.
    
    The fix for this would be to invalidate the access plan when the
    command is "alter table drop security policy" detected
    

Local fix

  • To issue a different statement which would cause a new access
    plan to be generated
    

Problem summary

  • The fix is fixed in db2 v97 FP5
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC75376

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-29

  • Closed date

    2011-12-12

  • Last modified date

    2011-12-12

  • APAR is sysrouted FROM one or more of the following:

    IZ90383

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC75376

Modified date: 12 December 2011