Subject | Re: [firebird-support] SQL query question (IN limitation) |
---|---|
Author | Dmitry Yemanov |
Post date | 2006-05-03T17:49:57Z |
"nikicab_1999" <nikicab_1999@...> wrote:
limits.
Dmitry
>The limitation relates to IN (<value list>) only. IN (<subselect>) has no
> SELECT DISTINCT User_id FROM Setting_Vals
> WHERE User_id IN(SELECT User_id from Setting_Vals WHERE (Setting_id =
> 125 and Setting_Value BETWEEN 280 and 295))
> AND User_id IN(SELECT User_id WhERE (Setting_id = 159 and
> Setting_Value BETWEEN 0.5 and 3.8))
>
> and it works but the problem is limitation of the IN (1499)
limits.
Dmitry