COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: jatin.popat on 28 Oct 2009 06:01:42 AM

Title: Limitation of "IN" operator in DB2 ..........??
Post by: jatin.popat on 28 Oct 2009 06:01:42 AM
How many expressions does IN operatore supports in DB2.

I am facing an issue when selecting all the values in 'value prompt' with multiple select ..

I have heard abt the same issue in Oracle - IN operator supports 1000 or 5000 ( not sure ).

So is there any such limitation in DB2 also ?
Title: Re: Limitation of "IN" operator in DB2 ..........??
Post by: blom0344 on 29 Oct 2009 07:19:54 AM
There must be a limit, but why not make it optional. Bypassing it will act as if the filter does not exist, which is the same as selecting ALL data..
Title: Re: Limitation of "IN" operator in DB2 ..........??
Post by: bloggerman on 09 Nov 2009 11:34:36 PM
There is a limit. But, its not a good practice to select such a large number of values. Try using select and search prompt instead of value prompt