Hi,Thanks for the reply. I am using oracle 10g.
Oracle 10g works with empty fields also as well as NULL field also.So,if you are entering space it takes it as empty field,that's why the query bring the result.