When you dump rs
it shows a = 1
, so you need to use WHERE a = 1
or WHERE a = <cfqueryparam value="true" cfsqltype="cf_sql_bit"/>
In Railo the value is stored as true
and not a 1/0
value, but using a cfqueryparam
will fix your issue either way.