I have shown how to truncate the time part from a datetime column value in SQL Server T-SQL in one of my previous posts here –
http://pivotronics.com/2012/12/19/comparing-datetime-column-with-a-date-literal-in-t-sql/
Here is the same (how to truncate the time part from a datetime column value) in Oracle SQL:
TRUNC(datetime_column)
or
TRUNC(datetime_expression)
very straight forward…!! isn’t it.. ? 🙂
Leave a Reply