IBM Support

IC80605: SQL0130N IS RETURNED WHEN "LIKE NULL" PREDICATE IS USED IN A DATABASE CREATED WITH UCA500R1 COLLATING SEQUENCE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • When a database is created with UCA500R1 collating sequence, and
    a query similar to the following is issued, a. SQL0130N error is
    returned,
    
    $ db2 "select * from tab1 where x like null"
    
    SQL0130N  The ESCAPE clause is not a single character, or the
    pattern string contains an invalid occurrence of the escape
    character.
    SQLSTATE=22025
    

Local fix

  • Use "IS NULL" predicate instead of "LIKE NULL"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * v97fp5                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to V97fp6                                            *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC80605

  • 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-12-28

  • Closed date

    2012-06-12

  • Last modified date

    2012-06-12

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

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

    IC84226

Fix information

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC80605

Modified date: 12 June 2012