Yes, I read that... I am aware that the syntax is a bit strange in
postgres, but isn't that part of why you have the cfqueryparam? to
format the variable in the way that it is used in the db? You don't
put the ' around strings that are being passed as varchar...
I even tried "isReported" = B'<cfqueryparam cfsqltype="cf_sql_bit"
value="0" />' but it dies with a different error: The column index is
out of range: 1, number of columns: 0.
It just seems dumb to have a type for the bit but not have it work for
bit types...
</rant>
I tried it CF9 and it seems to suffer from the same problem, so it not
just railo.
I'll probably just use a terinary operator for it:
"isReported" = B'#(arguments.isReported ? 1 : 0)#'
Randy
PS... it seems like Google Groups has been struggling with this
thread... I haven't got half of the messages from it yet, but they
should all catch up eventually...