Query:
select * from v_fi_trans_logs
where case_num like '105'
AND TRANS_DT=CAST('09-JUL-2014' AS DATE);
Doesn't return me any records.
But If I do a select as
select TRANS_DT,CAST('09-JUL-2014' AS DATE) from v_fi_trans_logs where case_num like '105'
It returns me values which is equal.
TRANS_DT CAST('09-JUL-2014' AS DATE)
----------------------------------------------
09-JUL-14 09-JUL-14
09-JUL-14 09-JUL-14
09-JUL-14 09-JUL-14
09-JUL-14 09-JUL-14
09-JUL-14 09-JUL-14
09-JUL-14 09-JUL-14
09-JUL-14 09-JUL-14
Can anyone help me out, with the issue here.
Any inputs will be of great help.