Hi,
I have a table with data column in it. It stored date with timestamp.
While selecting rows from table if I use
SELECT COUNT(*) FROM TEMPTBL
WHERE in_date = SYSDATE
returns 0 rows
SELECT COUNT(*) FROM TEMPTBL
WHERE TRUNC(in_date) = TRUNC(SYSDATE)
returns 10 rows
How to avoid trunc?