Start time and endtime of a procedure

Hi all,
I want to findout the start time and edn time of a procedure that was executed now.
How i can do this using oracle. Is there any table that will store this information??
or is there any aproach??
My exact requirement is
i am developing a shell script to execute the procedure.
at the end of the unix shell script i i will capture sql/plsql information in a .log file.
i will search for the start and end times from that .log file.
so i want to capture the start time and end time using oracle.
kindly reply soonn... very urgent
Thanks.

Hi,
There is a table called V$SYS_TIME_MODEL. You can use it as follows to find the time spent in executing a PL/SQL procedure.
SELECT VALUE FROM WHERE
STAT_NAME = 'PL/SQL execution elapsed time');
Execute the above query before and after execution of the pl/sql procedure. The difference should give you the time spent in the procedure.
Hope this helps,
Regards,
Sumit

Similar Messages

  • Function Module for Start time and End time

    Hi Experts,
    I need a function module for getting particular Work schedule rule start time and endtime and further details by passing personnel number and day.
    Thanks in advance.
    Sunil

    FYI - https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=5338428
    Thanks,
    SK

  • ESS Working Time - Start Time  and End Time in Weekly View

    Hello,
    I'm having a problem with the business package ESS - functionality Working Time (cat2).
    I need that information to Start Time and End Time appear in the Weekly View of the portal.
    In Daily View that information are already visible, but In Weekly View that information does not appear.
    Does anyone have any suggestions?
    Thank you very much your attention.
    Att,
    Jair de Oliveira Junior

    Hi Bala
    You can have clock in and clock out in a weekly view.
    you have to change the data entry profile settings.
    In general settings tab in data entry profile click the with clock times button and maintain the Period type to 02 in time settings tab.
    And you can view the weekly entry in clock in and clock out.
    Ravee
    +91.99206.33669

  • If I have manually set "Start Time" and "Stop Time" for songs, and my hard drive is backed up in Time Machine, when files/songs are transferred on new hard drive, will my "Start Time" "Stop Time" options be there?

    My Macbook Pro will be going in for reimaging and my hard drive will be wiped, I want to know if all my iTunes preferences will be copied if I have backed them up on Time Machine. Specifically, if I have set certain "Start Time" and "Stop Time" for my songs, and I copy my iTunes library, will these "Start Time" and "Stop Time" options remain or will I have to manually set them one by one once again? I need a reply ASAP! Thanks so much!

    As far as I'm aware the start & stop times are stored in the library database, not the media files. If you backup/restore/transfer the whole library then the settings are included. If you create a complete copy of your iTunes folder on another drive you can connect to that copy by holding down option/alt as you start iTunes so you can check that everything is working properly before you send the Macbook away.
    tt2

  • Calculate End Time from a Start Time and Minutes Allocated

    Hello,
    I have a meeting form which needs to have the finish time calculated from a start time and allocated time (in minutes).
    The allocated time is a text field with the default of "00:00".  The user can then enter the number of minutes for the agenda item to take.  eg 00:20 would be 20 minutes.
    The start time is a date/time calculated field which shows the current time after the allocated time has been entered. The formcalc script is :
    form1.ActionsHeaderFrame.ActionsStartTime.rawValue
    = num2time(Time(), TimeFmt(1))
    The Finish Time field is a calculated date/time field to add up the start time and allocated minutes.
    The formcalc script is:
    var Min1 = ActionsTime.rawValue
    var Start1 = Time2Num(ActionsStartTime.formattedValue, "h:MM A")
    form1.ActionsHeaderFrame.ActionsEndTime.rawValue = Min1 + Start1
    The end time is showing as a number, and I need help in converting to a time.
    An example is as follows:
    If the text field for allocated time as 00:20  and the start time date field shows 4:23 PM the calculated End time field is showing 22980001.
    Any advice or assistance with this script would be most appreciated.

    Thank you very much for your assistance.
    I have changed the allocated time field (ActionsTime) to a binding time field.
    In the End Time Field (ActionsEndTime) I have changed the formcalc function as follows:
    var Min1 = Time2Num(ActionsTime.formattedValue, "HH:MM")
    var Start1 = Time2Num(ActionsStartTime.formattedValue, "h:MM A")
    $ = Num2Time((Start1 + Min1), "H:MM A")
    The result with user input:
    Allocated time field input of 00:10 which is equal to (10 minutes)
    Start time field 10:41 AM
    End time Field result shows 23:51 PM
    Can you please advise where the formula needs to be revised to show the correct end time? 
    Thank you

  • In SharePoint Calendar lists, fields [Start Time] and [End Time] do not exist at the Site Column level.

    <header style="box-sizing:border-box;color:#777777;line-height:1;font-size:13px;padding-right:46px;margin-bottom:3px;font-family:'Helvetica Neue', arial, sans-serif;">
    </header>
    I'm doing SP app development and have the following problem.
    I need to check Start time and End Time in SharePoint Calendar using CAML query and then add a new event to Calendar list using the Start time and End Time that user has entered in 2 datapickers
    in the form.
    function AddCalendarListItems() {
    var SD = document.getElementById("datepicker1").value;
    var SThh = document.getElementById("St1").value;
    var STmm = document.getElementById("St2").value;
    var ED = document.getElementById("datepicker2").value;
    var EThh = document.getElementById("Et1").value;
    var ETmm = document.getElementById("Et2").value;
    var T = document.getElementById("Title").value;
    var S1 = SThh;
    SD = SD.slice(6, 10) + "-" + SD.slice(0, 2) + "-" + SD.slice(3, 5) + "T" + SThh + STmm + ":00Z";
    ED = ED.slice(6, 10) + "-" + ED.slice(0, 2) + "-" + ED.slice(3, 5) + "T" + EThh + ETmm + ":00Z";
    //alert("SD= " + SD + " , ED= " + ED);
    var siteUrl = SiteCollurl + "/SharePointApp11";
    var clientContext = new SP.ClientContext(siteUrl);
    var oList = clientContext.get_web().get_lists().getByTitle('Calendar');
    var ListItemCInfo = new SP.ListItemCreationInformation();
    var newEvent = oList.addItem(ListItemCInfo);
    newEvent.set_item("Title", T);
    newEvent.set_item("EventDate", SD);
    newEvent.set_item("EndDate", ED);
    newEvent.update();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQueryAddCalendarSucceeded2), Function.createDelegate(this, this.onQueryAddCalendarFailed2));
    function onQueryAddCalendarSucceeded2(sender, args) {
    alert("Success");
    function onQueryAddCalendarFailed2(sender, args) {
    alert('Add new item to the calendar failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    But I receive the following error:
    Add new item to the Calendar failed. Column 'Start time' does not exist. It may have been deleted by another user.
    I've checked and 'Start time' does exist. So it seems in SharePoint Calendar lists, field [Start Time] and [End Time]  exist but do not exist at the Site Column level.
    Please advise.

    Hi Khojasteh,
    Use “EventDate” for Start Time field, and “EndDate” for End Time field. They are the internal name of the two fields, you can check it in the column settings page url like “Field=EndDate”.
    If it isn’t the issue, please debug the code, in which line the error occurs.
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • Hide the start time and end time in ESS portal

    Experts,
    We have a requirement to hide the Start time and End time on the header section of the travel request / expense sheet in the ESS portal.  I have searched through the configuration and found several place to hide the start time and end time of segment yet these have no impact on the porta start and end time fields.
    Please Advise.
    Best Regards,
    Martin Weakley

    Hi Martin,
    you can achieve this with administrative personalisation. In portal content navigate to the role where you deltalinked your iView, click "preview". When a new Window for the preview is opened, notice the URL contains "&sap-config-mode=true". Now right click on the fields you want to hide and choose "enter configuration" (or the like, wording is not exact) from the context menue. The WD-UI-Element tree opens where you can directly hide/customize properties of the WD. When clicking save+exist you can also transport the alterations you did.
    maybe this helps or gives you a helpful alternative to the already stated measures in this thread
    regards, Lukas

  • How to get the start time and date

    Hi everyone! I have a question ,who will be glad to help me! Thanks in advance!
    As we know ,when we finish the UUT test ,it generate report . The report format maybe like"SeqFileName_Report[Time][Date]_00001.xml"
    My question is"how can I get the [Time] and [Date] in the test sequence"

    See this post.
    How To Display Time Information in Report/Results?
    http://forums.ni.com/t5/NI-TestStand/During-a-test-how-can-I-find-the-start-time-and-date-of-that/td...
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • SCOM Alert Connector - not updating the start time and finish time

    When I am monitoring the status of connectors in service manager console, I found that for SCOM Alert Connector the Start Time and Finish Time are not updating. Previously it was updated daily. As of now, service manager is working fine but would like
    to check will it create any issues? Even I have cliked on Synchronize Now, but there is no update. Please guide me on this to trouble shoot further? Thanks.

    Hi,
    Based on my research, the Start Time and Finish Time values are not updated when an alert connector is synchronized. These values are only updated when alert data is transferred between Operations Manager 2007 and Service
    Manager.
    More details, please refer to the link below:
    http://technet.microsoft.com/en-us/library/hh495609.aspx
    In addition, here is a blog about troubleshooting for SCSM and SCOM alert connector:
    http://blogs.technet.com/b/servicemanager/archive/2010/04/14/troubleshooting-tips-for-your-scsm-scom-alert-connector.aspx
    Regards,
    Yan Li
    Regards, Yan Li

  • Enter start time and end time of inspection

    Dear all
    Plz tell me where we can enter start time and end time of inspection.
    Regards
    Nirmala

    Hi Nirmala,
    I think Inspection start time is not required for any analysis or else. Days taken for closing lots are important than time. Any how, the stock posted or Inspection completed time is already available in Stock posting log - transaction QA33.
    In transaction QA33,
    1. Input Material, Plant & Period etc
    2. Select a lot (UD made)
    3. Select Usage decision tab
    4. Select Stock posting tab
    5. Select Stock posting log in the tab(header) - here your inspection completed (UD) time is getting stored
    Further issue, pls reply.
    VRMP.

  • How to know the process chain start time and end time

    Hi Experts,
                   How to know the process chain start time  and end time .
    Thanks in advance
    Regards
    Gutti
    Edited by: guttireddy on Feb 23, 2012 11:30 PM

    Hi Reddy,
    You may find the run time of a PC using below steps.
    1. Call SE38 > /SSA/BWT > Execute  > Enter your PC , choose the date and time > Execute. Here Run-time of a PC is displayed. (or)
    2. Call RSPC1 > Enter your PC > Execute > Goto Log view > Right click on the start Variant > Displaying Messages > Note down the start time in Chain Tab. Now Right click on the last Process type of the PC > Displaying Messages > Note down the End time in Chain Tab. The Difference b/w start time and end time gives the Run-time of your PC.
    Hope this helps.
    Regards
    Sai

  • ICal start time and red dot

    I've set the day to start at 8am but the daily and weekly calendar views start at 5am. Can it be set to show the correct start time?
    Also, in the weekly view, there's a red dot that looks like a push pin near the hour. What is that?

    Hi Alec,
    I have an Applescript that hides time ranges in iCal that I was sharing on my website called Visible Day in iCal. It works in OSX 10.5 and OSX 10.6 but crashes iCal in 10.7 or later, so I removed it.  If you would like a copy, send me a message.
    The red dot shows the current time in iCal.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Discussions Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Calc start time and Calc end time

    Hi,I am trying to do a "grep" from a application.log file. The # of start time cals = # of calc end time. Is that correct ? We want to make sure that load and calc are completed before start the backup process. I am checking for #'s that are spit out in the log file to conclude this process.Does anyone have a better idea ?Thanks,Minash...

    Have you tried grepping for the message number - 1012550. This is the message number for the 'Total Calc Elapsed Time: ' message. You could prabably also grep for the message text.Jerry UrsettiWellPoint

  • Long start-time and error-popup

    Hello,
    after a TS3.5 reinstallation it took very long to start up and after i while i got the attached screenshot.
    What does TS have to do with agilent-licencing?
    This popup only appeared once but TS still needs very long before i can log-in
    Any ideas how to speed this up?
    Thx
    Attachments:
    licence.JPG ‏115 KB

    Hi!
    The problem is not coming from TestStand 3.5 but from the your NI License Server.
    The NI License Server on your PC is searching the license for TestStand from a  Volume License Server in a server named "bitools.lvld.agilent.com"
    Are you using the Volume License Server? Do you take the license for NI Software locally or on a server?
    Check the NI License Server (Start ->Programs->National Instruments-> NI License Manager) and under "Options -> Settings" check the first checkbox.
    In your case the "bitools.lvld.agilent.com" is probably checked. Set the right name for your license server (if you are using on) or uncheck the box if you are using local licenses.
    Once this problem is resolved, the launch time of TS will speed up and no error will appear
    Best regards
    Ken

  • How to edit two starttime & end time into single start time and end time

    my application is to reserve a resource for particular period of time
    (min 1hr) so i store time into database as numerice value
    i need to edit the reserved time
    my problem is
    (for eg)
    a user reserve as 6.00 to 9.00
    the same user reserve as 15.00 to 18.00 on the same day
    if the user need to edit the time as 8.00 to 16.00 then i need to check the database and update it to 8.00 to 16.00 and those two reservation should not be present in the database
    i dont know how to solve this problem
    kindly help me in this regard
    thank u in advance

    How are you storing the two times?
    If u r storing as two different records u need to delete them and add a new one
    Other approach is to store the time as comma separated values like
    6.00-9.00, 15.00-18.00. when u want to change them just update it with the latest value.

Maybe you are looking for

  • Searching a string in Microsoft word from a Jav Application

    Would appreciate if you could provide me with an example/ suggestion to search for a string in Microsoft Word document from a java aplication. Thanks

  • Socket connections / smtp

    I have a form that sends mail (smtp) through a socket connection (actionscript), which I picked up here, http://www.bytearray.org/?p=27 Tested and works fine locally, but when posted online and tested, it quietly fails. I am trying to send mail from

  • How to authenticate OIM from AD using LDAP sync

    Hi Team, We do not want to use password synchronization connector for AD password sync to OIM After reading few article' I found two probable ways for it: 1. Authenticate OIM via AD using libOVD with OIM and LDAP sync enable 2. Authenticate OIM via A

  • Varibales: Charactersic with user value

    Hi Created one characteristic variable, which prompts a  pop up window with multiple values, where user has to  choose one while executing manual planning.  If  i select one value from input window, it is stored in buffer  and keep on considering tha

  • Drop down menu (sorry long post)

    Hi, im at university and for a piece of coursework I have to make a professional looking website. I have decided to load external SWFs, rather that have long loading times, because of this I have a container, which the SWFs are loaded into. I also ha