In Oracle a column of datatype DATE does indeed include both date and time. I do not know how (or why) you would put them in different columns.
When you are updating the column, be sure to update the ENTIRE column, both the date portion and the time portion.
The Oracle function TO_CHAR can be used to access the date portion and the time portion separately or even the DAY potion or the MONTH portion or …
SELECT TO_CHAR(SYSDATE, ‘MM/DD/YYYY HH24:MI:SS’) FROM DUAL;
– 04/20/2004 08:19:54
You might also want to take a look at TO_DATE function.
SELECT ‘TO DATE’ , TO_DATE(’01/28/2002′,’MM/DD/YYYY’) FROM DUAL;
— ‘TODATE TO_DATE(‘
— ——- ———
— TO DATE 28-JAN-02