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.
Hello
I have a question is there an equivalent of the "TOP" function of sql
server in informix
I need something like this but in the informix sintax:
DECLARE @var1 integer
SET @var1 = (select count(*) from table)
DECLARE @var2 integer
SET @var2 = 200
select top (@var1 - @var2) * from table
I'm using C# to develop my application that has access to informix but
↪ replying to luissol
DORN B — — source: Usenet: comp.databases.informix
TRY: SELECT FIRST <NUMBER OF ROWS> * FROM <TABLE>
On 4 Oct 2006 16:41:32 -0700, luissol <luissol@gmail.com> wrote:
>
> Hello
>
> I have a question is there an equivalent of the "TOP" function of sql
> server in informix
>
> I need something like this but in the informix sintax:
>
> DECLARE @var1 integer
> SET @var1 = (select count(*) from table)
> DECLARE @var2 integer
> SET @var2 = 200
> select top (@var1 - @var2) * from table
>
> I'm using C# to develop my application that has access to informix but
>
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>
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.