SQL>
SQL> CREATE TABLE myTable (
2 id INTEGER,
3 duration INTERVAL DAY(3) TO SECOND (4)
4 );
Table created.
SQL> INSERT INTO myTable (id, duration)VALUES (6, INTERVAL '3 2:25:45.12' DAY TO SECOND);
1 row created.
SQL>
SQL> select * from myTable;
ID DURATION
---------- ---------------------------------------------------------------------------
6 +003 02:25:45.1200
SQL>
SQL>
SQL> drop table myTable;
Table dropped.
SQL>
|