IBM Support

IC96093: INCORRECT RESULT IN UNICODE DB WITH LIKE PREDICATE AND FULLWIDTH UNDERSCORE WILD CHARACTER ON A CLOB COLUMN

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In a unicode database, running a query might return incorrect
    results if it contains a like predicate against a clob column,
    and the pattern to match contains a fullwidth underscore wild
    character (X'EFBCBF').
    
    For example:
    create table tbl1 ( id int, cclob20oct clob(20))
    insert into tbl1 values (1, X'F094AE8041')
    select id from tbl1 where cclob20oct like X'F094AE80EFBCBF'
    ID
    -----------
    
      0 record(s) selected.
    
    <-- incorrect result returns : the matching row is not returned.
    
    Recall that the fullwidth underscore is a wildcard character.
    See the Information Center for details.
    

Local fix

  • Use halfwidth underscore character (X'5F') instead of a
    fullwidth underscore character (X'EFBCBF').
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * UTF-8 databases                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply this APAR                                              *
    ****************************************************************
    

Problem conclusion

  • Apply this APAR
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC96093

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-19

  • Closed date

    2013-12-16

  • Last modified date

    2013-12-16

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC96093

Modified date: 16 December 2013