I\'m working with a client that starts almost all of their WHERE clauses in Oracle with 1=1. Forgive my ignorance, but isn\'t this a no-op? Are there any negati
1=1
They may have built the query from substrings.
It may be a way to build it with just ANDs, depending on the business rule match, so you don't really have to care which is your first condition.
AND
Wouldn't do it that way myself.