Doug Gorley wrote:
>
> "select * from tdt_unsent where str_name_l = 'SMITH'" returns 0 rows.
> "select * from tdt_unsent where str_name_l ~ '^SMITH'" returns 3 rows.
> "select * from tdt_unsent where str_name_l ~ '^SMITH$'" returns 0 rows.
> "select length(str_name_l) from tdt_unsent where str_name_l ~ '^SMITH'" returns "5".
what does the following return?
select str_name_l::bytea from tdt_unsent where str_name_l ~ '^SMITH';
It should show you any chars that don't usually display in your locale as
hex chars (i.e. \xNN).
Bosco.