Posted By

bbrumm on 02/23/17


Tagged

sql Oracle


Versions (?)

Oracle TO_DSINTERVAL Function


 / Published in: SQL
 

URL: http://www.databasestar.com/oracle-to_dsinterval/

A few examples of the TO_DSINTERVAL function.

  1. --TO_DSINTERVAL
  2.  
  3. --Example 1
  4. SELECT TO_DSINTERVAL('120 6:31:14') AS output
  5. FROM dual;
  6.  
  7. --Example 2
  8. SELECT TO_DSINTERVAL('3 14:09:32') AS output
  9. FROM dual;
  10.  
  11. --Example 3
  12. SELECT TO_DSINTERVAL('0 2:06:00') AS output
  13. FROM dual;

Report this snippet  

You need to login to post a comment.