SQL>
SQL> DECLARE
2 A INTERVAL YEAR TO MONTH;
3 B INTERVAL YEAR TO MONTH;
4 C INTERVAL DAY TO SECOND;
5 D INTERVAL DAY TO SECOND;
6 BEGIN
7 C := INTERVAL '10 1:02:10.123' DAY TO SECOND;
8
9 END;
10 /
PL/SQL procedure successfully completed.
SQL>