Subject Re: [firebird-support] changed WHERE behavior from fb 1.5 to 2.5
Author martijn@pecsforall.com
> select * from my_table
> where status=0
> and cast(code as integer)=1

What happens if you use ()?

select * from my_table
where (status=0)
and (cast(code as integer)=1)

Which indexes are used?

Martijn