Hello everyone,
I wanna insert the current date and time on the database after my application has started the stored procedure.
I have to insert the following format for datetime column: 03/19/2015 00:00:00 (that is, MM/DD/YYYY XX:XX:XX AM/PM)
Is it correct to use this line?
TO_DATE(SYSDATE, 'MM/DD/YYYY HH24:MI:SS')
---
My SYSDATE example:
SELECT SYSDATE from DUAL;
3/19/2015 5:43:37 PM
My stored procedure script are attached and my Oracle version is 10g.
Best regards,
Henrique Silva