Loading topic
SELECT queries with a WHERE clause, you know the DUAL table, and you have seen SYSDATE. An Oracle DATE always carries a time of day, so a comparison on a date can silently miss rows. TRUNC removes the time, and that makes day-level logic reliable.1 min read