suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT12909 Status: Closed

SELECT QUERY USING CONNECT BY CLAUSE WITH PRIOR APPLIED TO VARCHAR RETURNS
26079

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
A select query using CONNECT BY clause with PRIOR applied to a
varchar column returns error 26079 when value has the same
starting character(s) than the one from the prior row handled.

A table with 2 varchar columns and 2 rows:

col 1    col 2
 00       01
 01       0

The following query will return error -26079:

  SELECT col1, col2
    FROM tab
   START WITH col1 = '00'
   CONNECT BY col1 = PRIOR col2;
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of 12.10.xC1 through 12.10.xC6                         *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* A CONNECT BY query may return incorrect error code under the *
* following conditions:                                        *
*  - a varchar(n) column is used as CONNECT BY PRIOR column    *
*  - rows in table have different actual length for the        *
* varchar column, some shorter than others                     *
*  - values for a shorter row matches a prefix of at least one *
* longer row                                                   *
****************************************************************
* RECOMMENDATION:                                              *
* Update to IBM Informix Server 12.10.xC7                      *
****************************************************************
Local Fix:
Work around: Change column type to char.
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
22.12.2015
28.06.2016
28.06.2016
Problem solved at the following versions (IBM BugInfos)
12.10.xC7
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download