例如:select old_dept,remark,dept_code,dept_name from cst_dept_syn where 1=1 and dept_name is not null and dept_name!=''
就啥也查不出来了。
如果我这样就能查出来, select old_dept,remark,dept_code,dept_name from cst_dept_syn where 1=1 and dept_name is not null and dept_name || ' '!=' '
真的不知道oracle是如何看待空字符串的。大家帮忙分析一下。