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.
luissol wrote:
> Hello
>
> I have a question is there an equivalent of the "TOP" function of sql
> server in informix
http://publib.boulder.ibm.com/infocenter/idshelp/v10/topic/com.ibm.sqls.doc/sqls653.htm#idx3051
>DECLARE @var1 integer
>SET @var1 = (select count(*) from table)
>DECLARE @var2 integer
>SET @var2 = 200
>select top (@var1 - @var2) * from table
You may want to read up on dynamic SQL within Informix too...
Rich
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.