Am Dienstag, 19. Juni 2012 15:40:00 UTC+2 schrieb Lukas Eder:

> I couldn't find it in the docs; try to create an IN with more than 384 
> (old 
> > Sybase) or 1024 (since Sybase 12.5) elements in the IN() clause. 
> > 
> > The reason is that Sybase internally transforms "x IN()" into "x = 
> value1 OR 
> > x = value2 OR ..." and Sybase only allows 384/1024 local operators in a 
> > single SELECT. 
>
> Hmm, yes I roughly remember having seen this before when writing 
> relevant integration tests. Maybe, my integration tests just skip this 
> part for Sybase ASE. So how would this be resolved? By replacing bind 
> values by inline values in generated SQL? Can it even be resolved? 
>

We're not aware of a solution. I think the first step would be a unit test 
followed by a question on stackoverflow.com :-)

Regards,

A. Digulla

Reply via email to