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.
may be:
select first 100
somecol1, somecol2, somecol3,......
from sometable
will fetch 100 rows (if there are 100...)
what tool are you using??
when fetch you can always keep track of how many rows are fetched...
if your number is reached then close the cursor.... etc.
Superboer.
Kuldeep schreef:
> How to restrict no. of records in Informix.
> means i wana a procdure wich will no. of records returned by select
> statement.
> This can be be done by cursor. But How? I am confused
> like "set rowcount" in Sql Server
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.