Oracle Date And/Or Time In Seconds

This page answers questions like these:


Related Links:
Oracle Time in Microseconds
What Oracle Version do I Have?
Defragment Tablespace
INSERT INTO ... SELECT * FROM ...
Oracle Trigger Compilation Warnings/Errors



Get the Date and/or Time in Oracle:

SELECT SYSDATE FROM DUAL;

Store the Oracle Date and/or Time in Seconds:

CREATE TABLE mytable ( DATE(9) mydatetime, VARCHAR2(30) mycomment ); INSERT INTO mytable VALUES (SYSDATE, "This is the time that I ran the insert statement.");

See the Oracle Date and/or Time in Seconds:

SELECT TO_CHAR(SYSDATE, 'DD-MM-YYYY HH24:MI:SS') FROM mytable;




Related Links:
Oracle Time in Microseconds
What Oracle Version do I Have?
Defragment Tablespace
INSERT INTO ... SELECT * FROM ...
Oracle Trigger Compilation Warnings/Errors

Home  >  Oracle  >  Oracle Date And/Or Time In Seconds


Tags: oracle time in seconds, oracle time precision, oracle time resolution, time, seconds, sub-second time, sub-second resolution, sub-second accuracy, oracle database, oracle, database

Copyright © HelpDoco.com
oracle-date-time.txt
Oracle/date-time-in-seconds.htm
4