how to truncate time in sql
TRUNC: Removing the time from SYSDATE. SQL> SQL> -- Removing the time from SYSDATE. SQL> SQL> SELECT TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH:MM:SS AM') Today's Date and Time from DUAL; Today's Date and Time ---------------------- 08/31/2006 12:08:00 AM SQL> SQL>. java2s.com | Email:info at java2s.com | Â© Demo Source and Support. All rights reserved.