Select 문을 한개씩 실행해 보아라. 왜 그럴까? with temp as ( select cast( '' as char(3)) as tt from dual union all select cast( '123' as char(3)) from dual ) --select * from temp where tt like '%' select * from temp where nvl(tt,'asdf') like '%' with temp as ( select cast( '' as varchar2(3)) as tt from dual union all select cast( '123' as varchar2(3)) from dual ) --select * from temp where tt like '%' select * ..