Request
select LTRIM(RUN_DURATION ) from SYS.USER_SCHEDULER_JOB_RUN_DETAILS WHERE LOG_ID = 218737; returns: +000 00:01:27. I need only seconds from 0 to 59 - the last two characters
Himself guessed only to TRIM
select LTRIM(RUN_DURATION , '+000 00:00')) from SYS.USER_SCHEDULER_JOB_RUN_DETAILS WHERE LOG_ID = 218737; But the value of the minutes may be different and this option does not suit me.
How to format the output to two characters on the right?