I have field REPORTDATE (DATETIME). In SQL Developer i can see its value in this format
29.10.2013 17:08:08
I found that in order to do the select o
Use this:
SELECT trunc(REPORTDATE, 'DD') AS my_date FROM TABLE1
This will not change the type of the returning object, only truncates everything below "day" level.
If you are ok with returning a String, then you can just do:
SELECT TO_CHAR(REPORTDATE, 'DD.MM.YYYY') AS my_date FROM TABLE1