Re: max length of sql select statement ? - Mailing list pgsql-sql

From markus brosch
Subject Re: max length of sql select statement ?
Date
Msg-id 1057594050.886.104.camel@sam
Whole thread Raw
In response to Re: max length of sql select statement ?  (<mallah@trade-india.com>)
Responses Re: max length of sql select statement ?
Re: max length of sql select statement ?
List pgsql-sql
On Mon, 2003-07-07 at 17:57, mallah@trade-india.com wrote: 
> Depending on ur original problem EXISTS or IN may be usable
> EXISTS is efficient and IN can be used efficiently in 7.4 version
> of postgresql

Could be a solution?!
The question is - how long could the IN be?

I mean, if I write something like: 
SELECT * FROM table WHERE columnX IN ('a', 'b', 'c', 'd', 'e', ... ); 
How long can the collection (list) within IN be? Also thousands of
elements?

And what means efficient? Goes the DB only once through the table?

Cheers, Markus





pgsql-sql by date:

Previous
From: Yasir Malik
Date:
Subject: Need help with complex query
Next
From:
Date:
Subject: Re: max length of sql select statement ?