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 IT26200 Status: Closed

SUBSTRING OPERATOR DOES NOT WORK IN WHERE CLAUSE

product:
IBM INFORMIX 4G / 5724C6680 / 750 - Informix 7.50
Problem description:
The substring operator "[]" does not work when used in a WHERE
clause.

For example, you have a table defined as:

create table t1(
  c1 char(6),
  c2 char(6)
);


You have a 4GL program:

]$ cat sub.4gl
DEFINE r_c1 char(7),
            r_c2 char(7)

MAIN

DATABASE test

LET r_c1 = "Testing"
LET r_c2 = "Testing"

INSERT INTO t1(c1, c2) VALUES (r_c1[1,4], r_c2)

END MAIN


When the program above is run, the following values are inserted
into the table:

c1        c2

Testing Testing
Problem Summary:
Local Fix:
Solution
Workaround
not known / see Local fix
Comment
Product is working as designed.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.09.2018
17.05.2019
17.05.2019
Problem solved at the following versions (IBM BugInfos)
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