>> I wasn't aware of such a Sybase (ASE or SQL Anywhere?) limitation. Can you
>> provide a documentation link explaining this? What would need to be adapted
>> by jOOQ?
>
> 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?
> PS: Greetings from Danilo Tommasina :-) We'll see you on July, 3rd in
> Zurich!
He's working with you? It's a small world! Or at least, it's a small
country! :-) Say hi back to him!
Looking forward to meeting you at the JUGS!
Cheers
Lukas