IBM Support

IC71680: SQL ERROR -1207 WHEN ALTERING ANY INTEGER TYPE TO LVARCHAR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • If you're altering a column from integer, integer8 or bigint (or
    corresponding serial) data types to lvarchar, this can fail with
    error:
    
         -1207 "Converted value does not fit into the allotted
    space"
    
    This will occur only if the column holds data outside the range
    0 - 10.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All platforms and all currently available versions of the    *
    * product                                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a table has an integer/bigint column, if it has more than *
    * 1 row, and if the first row's integer data is shorter than   *
    * the other rows' data then the user will get -1207 error      *
    * during alter table if they try to convert the numeric data   *
    * to lvarchar.                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.50.xC8 when it is released.                    *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC71680

  • Reported component name

    IBM IDS ENTRP E

  • Reported component ID

    5724L2304

  • Reported release

    B15

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-04

  • Closed date

    2011-01-20

  • Last modified date

    2011-01-20

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

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

Fix information

Applicable component levels

  • RB15 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B15","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 January 2011