Please help me get time by seconds duration

Hello dear friends.
I have duration of the procces in seconds in table column, but I need show this duration in regular format like this: 00:00:00.
Examples:
13 (00:00:13)
65(00:01:05)
I know that I can write function, but may be somewere this function exist, or anybody have written this function.
Thanks.

Assuming the format you showed is how it is stored (the HR:MI:SS) in your table as a VARCHAR2 and not DATE, then this code would appear to do what you asked, except it just needs to be put within a function wrapper:
SQL> create table x (secs varchar2(8));
Table created.
SQL> insert into x values ('02:20:05');
1 row created.
SQL> commit;
Commit complete.
select to_number(substr(secs,1,2)) * 60*60 +
       to_number(substr(secs,4,2)) * 60    +
       to_number(substr(secs,7,2))         ||
       '(' || secs || ')' SECONDS
from x;SECONDS
8405(02:20:05)
Bob
Message was edited by:
psalms1

Similar Messages

  • HT5622 When I was update free OS update I was charged 60 INR four times, I don't how to claim my money back. Could you please help to get my money back?

    When I was update free OS update I was charged 60 INR four times, I don't how to claim my money back. Could you please help to get my money back?

    Did you add or change your credit card details on your iTunes account when downloading them ? If you have then each time that you do so a small temporary store holding charge may be applied to check that the card details are correct and valid and that it's registered to exactly the same name and address as on your iTunes account - it should disappear off your account within a few days or so.
    Store holding charge : http://support.apple.com/kb/HT3702

  • Every time i open Fire Fox i get an unreponsive pop-up? Please help in getting it resolved

    Every time i open Fire Fox i get an unreponsive pop-up? Please help in getting it resolved

    Hi sushmasrikrishna,
    did you try reinstall to see if something changes ?
    romsdu81

  • HT1476 My charging cables keep malfunctioning! Please help @ £15 a time having an iphone is getting exspensive

    My charging cables keep malfunctioning! Please help @ £15 a time having an iphone is getting exspensive

    If the cable that came with it went bad with in a year, it's still under warranty. Have it replaced.

  • HT201364 Hi friends, I have a Mac Pro OS X 10.5.8, I want to upgrade newer version its possible, please help to get a solution thanks

    Hi friends, I have a Mac Pro OS X 10.5.8, I want to upgrade newer version its possible, please help to get a solution
    thanks
    Mujeeb

    See options below:
    Upgrading to Snow Leopard
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mavericks if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s iCloud services; fees and
               terms apply.
    Upgrading from Snow Leopard to Lion or Mavericks
    To upgrade to Mavericks you must have Snow Leopard 10.6.8, Lion, or Mountain Lion installed. Purchase and download Mavericks (Free) from the App Store. Sign in using your Apple ID. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mavericks- System Requirements
           Macs that can be upgraded to OS X Mavericks
             1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
                 Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
             7. Xserve (Early 2009) — Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Are my applications compatible?
             See App Compatibility Table — RoaringApps.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mavericks, it may still meet the requirements to install Lion.
    You can purchase Lion at the Online Apple Store. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.

  • After updating my computer, my iweb is not opening...please help me get it back!

    after updating My computer, my iweb is not opening...please help me get it back!

    Verify that your domain file is located in your Home/Library/Application Support/iWeb folder which will be invisible. However, 
    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    For  Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    Next:
    To open your domain file in Lion, Mountain Lion or Mavericks or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    Since iWeb has discontinued by Apple the new systems don't handle the iWeb preference pane as it was in earlier.  The script corrects that situation and once you open the domain file the first time you can just use iWeb to open it from there on.  However, you'll need it if you plan on using more than one domain file. And adhear to the warning above.

  • Can someone please help me get some?

    I was a summer intern student worker and the company brought us Macbooks. I never really knew about Macbooks at the time and kinds still dont and now my macbook is starting to act up I see I lost my repair plan cause its been a min or whatever. So can someone please help me get sometype of  repair something?

    Please make a Genius Appointment and take it in for service.

  • PLEASE HELP ME GET THE SOFTWARE TO INSTALL ON MY COMPUTER SO I CAN HAVE WIRELESS INTERNET

    Okay i know this is off the tangent but i am losing my mind i have a wireless B broadband router model number befw11s4 and i lost the cd upon a long tideous move so can you please anyone PLEASE HELP ME GET THE SOFTWARE TO INSTALL ON MY COMPUTER SO I CAN HAVE WIRELESS INTERNET i am losing my mind i callled linksys and they were no help telling me i had two option to either buy a 29.99 plan or a 39.99 plan and i couldnt get  the help i needed unless i bought the **bleep** plans so i said kindly thank you for your time ...I figured i would post a thread up asking if someone anyone can please help me get this software or cd so i can install it on my computer !! THANK YOU FOR YOUR TIME !!!!!
    Message Edited by kent07 on 11-20-2009 05:46 PM

    You don't need any software to run the router at all.  Connect with your wired computer to 192.168.1.1 username blank, password admin and configure your router manually like everyone else. 

  • When I open Firefox browser, I get arcade music followed by siren. Please help me get rid of this.

    This morning at 10:30 AM PDT when I opened Firefox browser, I got an arcade type of sound followed by a siren sound which will not go away until I shut down Firefox. Please help me get rid of this annoying sound!
    == This happened ==
    Every time Firefox opened
    == today 5/21/2010

    This morning at 10:30 AM PDT when I opened Firefox browser, I got an arcade type of sound followed by a siren sound which will not go away until I shut down Firefox. Please help me get rid of this annoying sound!

  • I ordered mac OS and I got the email for License and I didnt get the attachement for content code. Please help me getting the content code.

    I ordered mac OS and I got the email for License and I didnt get the attachement for content code. Please help me getting the content code.

    It's a two email process, one email has a locked pdf with the redemption code. The second email has the password to unlock the pdf. They come separetly, so you may have to wait for the 2nd to arrive.

  • Please help to get onhand stock report with last purchase and billed date warehouse and item wise

    please help to get onhand stock report with last purchase and billed date warehouse and item wise

    Hi Rajeesh Ambadi...
    Try This
    SELECT distinct T0.ITEMCODE , t1.ItemName, T0.ONHAND as 'Total Qty',  
      T1.LASTPURDAT ,t1.LastPurPrc
    FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE
    INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD left join ibt1 t3 on t3.itemcode = t0.itemcode and t3.whscode = t0.whscode
    WHERE
    T0.ONHAND>0
    AND T0.WhsCode ='[%0]'
    Hope Helpful
    Regards
    Kennedy

  • Please help me get the pictures of the puppies I selected off the back of my tool bar. Thank you.

    I'm disabled, I did the FF update, I quickly picked the puppies I find it to be a huge distraction need it OFF, please help me get if off, regular toolbar background is what I need. Puppies are causing seizures Please help and thank you.

    Tools > Add-ons > Themes, click "Default", click "Use Theme"
    See:
    http://support.mozilla.com/en-US/kb/Using+themes+with+Firefox#Managing_themes_and_personas

  • Can anyone please help? Every time I start up my imac OSX 10.6 desktop my Aperture 3 programme opens up without being requested. Is it possible to stop this from happening and only open by using the desktop icon? Thank you for any assistance.

    Can anyone please help? Every time I start up my imac OSX 10.6 desktop my Aperture 3 programme opens up without being requested. Is it possible to stop this happening and only allow Aperture to open by using the desktop icon? Thank you for any assistance anyone may be able to give.
    Best regards, John.

    because there is absolutely no mention in my System Preferences of either Users & Groups nor Start Up Items.
    John,
    William's solution was much easier - just for completeness sake: The preferences panes to edit your startup items moved between the Mac OS X updates: I forgot that the "Users&Groups" preference pane used to be called "Users" in Mac OS X 10.6; it is the panel that you use to create new User accounts; and earlier systems had a separate preferences panel "Login" to enable and to disable the applications that are launched at login. Both are now combined in "Users&Groups". Sorry for sending you on a wild goose chase with the wrong Preferences panel.
    Regards
    Léonie

  • When attempting to start iTunes, I get the following: "The iTunes library file cannot be saved. An unknown error occurred (-50)." Can someone please help me get this fixed?

    When attempting to start iTunes, I get the following: "The iTunes library file cannot be saved. An unknown error occurred (-50)." Can someone please help me get this fixed?

    Same problem here since latest update.  As usual poor support from Apple with no answer or fix for this bug.

  • Please help - i get as far as downloading illustrator cs6 then it asks me to close down adobe professional 8 which i dont have open then i have to close the whole thing down and start again - this keeps happening

    please help - i get as far as downloading illustrator cs6 then it asks me to close down adobe professional 8 which i dont have open then i have to close it down and start again

    You have Distiller (used by the PDF Printer) or the Acrobat Quick Launcher running in the background. Shut down the processes or terminate them in task manager.
    Mylenium

Maybe you are looking for

  • Problem catching events after opening system form

    Hi In my addon i open a system form from a user form. after closing the system form , my user form does not cause any event to be handled by my addon. in other words pressing on the forms button items does not cause any event to accure. in order for

  • WEB EX Java in conflict with Admin Server

    I have Successfully load 11.1.2.1 in my windows 7 laptop but when I have attempted to a Webex and and load there Java piece i can not use Essbase the Admin Server - Stops Running and Ideas Please Advise Edited by: Next Level on Dec 20, 2011 6:28 AM

  • Need to reinstall HTML DB - Am I on the right track????

    I have a problem with my admin password not working. This is on a single user computer with htmldb installed in a local personal Oracle 9 database that I use specifically for development and testing. I don't know why the HTML DB admin password stoppe

  • Iphone 6 background screen is different color

    My iphone 6 was roughly 1% in battery charge and I plugged it in to charge it while on a phone call. The phone shut itself down and started to power itself up and when it did the screen was a different weird almost black and white rainbow color. How

  • Connector for custom built application

    Hi all, Can SAP IDM support custom application? The  application uses Oracle tables to store IDs, Roles, Passwords etc. I am new to SAP IDM. But I do have some experiences with Oracle IDM and IBM Tivoli IDM. Thanks in advance, dongsu.