I'm encountering this error on my select statement.

Server Message: Number 404, Severity 16
Server 'DO', Line 5:
Too many ANDs or ORs in expression (limit 1024 per expression level). Try splitting query or limiting ANDs and ORs.
Server Message: Number 404, Severity 16
Server 'DO', Line 5:
Too many ANDs or ORs in expression (limit 1024 per expression level). Try splitting query or limiting ANDs and ORs.

I'm currently running ASE
Adaptive Server Enterprise/12.5.3/EBF 13331 ESD#7/P/NT (IX86)/OS 4.0/ase1253/1951/32-bit/OPT/Fri Mar 24 02:17:56 2006

any thoughts on this? Thanks advance.