Hi everyone,
I'm trying to do a binary AND in a select statement but I get the following
error:
select * from new_tabl where ((col & 64) != 0);
ERROR: Unable to identify an operator '&' for types 'int4' and 'int4'
You will have to retype this query using an explicit cast
I'm not sure what's wrong. col is defined as INTEGER.
Any help would be appreciated.
Chris