Re: max length of sql select statement ?

Поиск
Список
Период
Сортировка
От markus brosch
Тема Re: max length of sql select statement ?
Дата
Msg-id 1057594050.886.104.camel@sam
обсуждение исходный текст
Ответ на Re: max length of sql select statement ?  (<mallah@trade-india.com>)
Ответы Re: max length of sql select statement ?  (<mallah@trade-india.com>)
Re: max length of sql select statement ?  (Rod Taylor <rbt@rbt.ca>)
Список 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 по дате отправления:

Предыдущее
От: Yasir Malik
Дата:
Сообщение: Need help with complex query
Следующее
От:
Дата:
Сообщение: Re: max length of sql select statement ?