Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Under all circumstances, Informix 7.23 is so geriatric that it is unkind to be still running it. It is not clear whether this is an OnLine (Informix Dynamic Server, IDS) or SE (Standard Engine) database. However, 7.23 was the version prior to the Y2K-certified 7.24 releases, so it is 15 years old or thereabouts, maybe a little older.</p> <p>The syntaxes supported by Informix servers back in the days of 7.23 were less comprehensive than they are in current versions. Consequently, you'll need to be careful. You should have the manuals for the server — someone, somewhere in your company should. If not, you'll need to try finding it in the graveyard manuals section of the IBM Informix web pages (start at <a href="http://www.informix.com/" rel="nofollow noreferrer">http://www.informix.com/</a> for simplicity of URL; however, archaic manuals take some finding, but you should be able to get there from <a href="http://pic.dhe.ibm.com/infocenter/ifxhelp/v0/index.jsp" rel="nofollow noreferrer">http://pic.dhe.ibm.com/infocenter/ifxhelp/v0/index.jsp</a> choosing 'Servers' in the LHS).</p> <p>If you are trying to write:</p> <pre><code>SELECT ... (SELECT ... ) AS 'Current - 1', (SELECT ... ) AS 'Current - 2', ... FROM ... </code></pre> <p>then you need to study the server SQL Syntax for 7.23 to know whether it is allowed. AFAICR, OnLine (Informix Dynamic Server) would allow it and SE probably would not, but that is far from definitive. I simply don't remember what the limitations were in that ancient a version.</p> <hr> <p>Judging from the 7.2 <a href="http://publib.boulder.ibm.com/epubs/pdf/7882a.pdf" rel="nofollow noreferrer">Informix Guide to SQL: Syntax</a> manual (dated April 1996 — 17 years old), you cannot put a <code>(SELECT ...)</code> in the select-list in this version of Informix.</p> <p>You may have to create a temporary table holding the results you want (along with appropriate key information), and then select from the temporary table in the main query.</p> <p>This sort of thing is one of the problems with not updating your server for so long.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload