The record has nothing in the errors field. The commented out code doesn't return anything but when the variable is used it returns a record. What am I doing wrong?
test varchar(5);
test := '1';
select * from timedetail
where empnum = '013061361' and tsdate = '1-nov-13'
--and regexp_like(errors, '[1,0]')
and regexp_like(errors, '[ || test || ]')