• Admin-Scout-small-Banner
           
    CURSOR Admin-Scout
    get the ultimate tool for Informix
    pfeil  
invispix 10x10
invispix 10x10
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC15.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 IT42103 Status: Closed

-1266 FOR A COMBINATION OF DATE/INTERVAL AND INTEGER FILTERS

product:
INFORMIX SERVER / 5725A3900 / E10 - 
Problem description:
This simple test case reproduces an undue -1266 error:

CREATE TABLE td (d date);
CREATE INDEX tdi on td (d);
SELECT * FROM td
WHERE
 ( d < TODAY - 1 UNITS DAY OR d = TODAY)
AND
   d < TODAY - 1 UNITS MONTH;

Variants of this simplified demo statement will do as well.

Conditions for hitting the problem, per some testing:
- Index having column d in first position (if multiple columns)
- Those interval expressions
- An   ... AND ( ... OR ... ) filter with two different
date/interval comparisons
- Those two units (MONTH and DAY) can't be the same
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server to 12.10.xC16 and 14.10.FC9W1.      *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC16 (if available) or      *
* 14.10.FC9W1.                                                 *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server to 12.10.xC16 and 14.10.FC9W1.      *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC16 (if available) or      *
* 14.10.FC9W1.                                                 *
****************************************************************
Comment
Fixed in Informix Server 12.10.xC16 and 14.10.FC9W1.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
20.09.2022
22.02.2023
22.02.2023
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
invispix 10x10
invispix 10x10
invispix 10x10
Technical InfoTechnical Info

Technical Info

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

invispix 10x10
Service und SupportService und Support

Service and Support

Informix MonitoringInformix Monitoring

Informix Monitoring

Admin-Scout for InformixAdmin-Scout for Informix

Admin-Scout for Informix

Informix News & InfosInformix News & Infos

Informix News & Infos