Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6868615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:27:22+00:00 2026-05-27T03:27:22+00:00

is there a difference in the Informix query performance using ANSI syntax: SELECT ..

  • 0

is there a difference in the Informix query performance using ANSI syntax:

SELECT .. 
  LEFT OUTER JOIN some_table ON (<condition>) 
  LEFT OUTER JOIN some_other_table (<condition_on_some_table>)

and Informix specific OUTER syntax:

SELECT ... 
  OUTER (some_table, 
   OUTER(some_other_table)) 
WHERE <join_conditions>

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:27:23+00:00Added an answer on May 27, 2026 at 3:27 am

    Yes, there are differences in the semantics of a Standard outer join and an Informix-style outer join which inevitably means that there are differences in the query plan.

    In general, use the Standard notation for any new or modified code – leave the Informix-style outer join notation for (unchanged) legacy code, and preferably update even that to use the new join notations.

    What is the difference? Fair question – hard to explain, and harder still to come up with a good (plausible example). Basically, the Informix-style notation preserves the rows from the ‘dominant’ tables (the non-outer tables) even when there are criteria based on the values in the outer-joined table that would reject those rows.

    These two queries produce the same result:

    SELECT i.*, o.*
      FROM DominantTable AS i, OUTER OuterJoinedTable AS o
     WHERE i.pk_column = o.fk_column;
    
    SELECT i.*, o.*
      FROM DominantTable AS i
      LEFT OUTER JOIN OuterJoinedTable AS o
        ON i.pk_column = o.fk_column;
    

    These two queries do not necessarily produce the same result:

    SELECT i.*, o.*
      FROM DominantTable AS i, OUTER OuterJoinedTable AS o
     WHERE i.pk_column = o.fk_column
       AND (o.alt_column IS NULL OR o.alt_column = 1);
    
    SELECT i.*, o.*
      FROM DominantTable AS i
      LEFT OUTER JOIN OuterJoinedTable AS o
        ON i.pk_column = o.fk_column
     WHERE (o.alt_column IS NULL OR o.alt_column = 1);
    

    The difference occurs in a situation like this:

    DominantTable                              OuterJoinedTable
    pk_column   other_column                   fk_column   alt_column
    1           twenty                         1           3
    

    The standard LEFT OUTER JOIN notation will produce the empty set as the result. The Informix-style join will produce the result:

    pk_column   other_column   fk_column   alt_column
    1           twenty         null        null
    

    The data from DominantTable was not rejected because of a filter condition on the dominant table, so it is preserved by Informix. The standard join does the outer join and then filters the result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a difference in performance between these two queries? --= operator SELECT COL1,
Is there a difference (performance, overhead) between these two ways of merging data sets?
Is there a difference between generating multiple numbers using a single random number generator
In general (or from your experience), is there difference in performance between for and
Is there any difference between if(string.Empty.Equals(text)) and if(text.Equals(string.Empty)) concerning performance, unexpected behaviour or readability?
On an int column, is there difference between doing.. SELECT .. int = '1'
Is there any difference(performance, implementation. .whatever) between the following: i) DllImport(kernel32.dll)] public extern static
Is there a difference between event.currentTarget and this ? What about performance?
Is there any difference in performance when running two executables with mono in linux,
Is there any difference between using <img src=pathto.png /> and <img src=data:image/png;base64,encodedpngdata... /> from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.