select
case
when ''!='abcd'
then 'nodate'
else 'date'
end;
Here I hope '' stand for null, but when I execute this query I am getting 'date' as an ouput, rather than 'nodate'. What is the problem in this query? Why does ''!='abcd' condition checking become true?