I get this error:
ERROR: cannot cast type bytea to character varying
Any ideas?
> Does doing something like (untested):
>
> SELECT * from table where upper(decode(field,'base64')::varchar) like
upper('%sometext%');
>
> work for you?
>
> Sean
>
Ross Gohlke
ross at grinz dot com