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

SYNTAX ERROR -201 FOR REMOTE SQL CONTAINING DECODE/CASE EXPRESSION WITH
PROJECTION/HOST VARIABLE REFERENCE

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
When in inner query with function within function uses synonym
of table from remote server as in below statement.

update t01 set col15=(
        select decode(min(l2.col24), "",col15, min(l2.col24))
                from t02 l2, t02 l1
                     where l1.col24=t01.col15 and
l1.col22=l2.col22 and l2.col03="FIG")

        where col01="201905"
        and col03="SET"
        and col15 like "8*"

where the "t02 l2" is a synonym to a table on remote instance.

The result from this statement is "SQL Error (-201): A syntax
error has occurred." pointing to last character of SQL.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC14.                *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Update to Informix Server 12.10.xC14.                        *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC14.                *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Update to Informix Server 12.10.xC14.                        *
****************************************************************
Comment
Fixed in Informix Server 12.10.xC14.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
01.10.2019
25.02.2020
25.02.2020
Problem solved at the following versions (IBM BugInfos)
12.10.xC14
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