Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Liam Kenneally — — source: Informix-list mailing list archive (1991-1998)
Having just moved into the Informix domain from Oracle, I am looking for
the simplest way to select the first X number of rows from a table.
When using Oracle the solution was:
SELECT col FROM table WHERE ROWNUM < X+1;
Is there a similiar mechanism in Informix. The solution will need to be used
when selecting data as a result of a JOIN. I have looked at using ROWID but with
no great success.
All suggestions welcome.
Liam.
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.