Time stamp for each DML in spool file

Hi,
I need to know how much time is taking for each delete statement in sql file.
this is my sql file with dml statements.
set serveroutput on;
set time on;
spool C:\PN\PN\temp_spool.log
delete from tmp_test1;
commit;
delete from tmp_test21;
commit;
set time off;
spool off;
The spool file is creating as below.
20 rows deleted.
Commit complete.
30 rows deleted.
Commit complete.
My requirement is to print time for each DML in the spool file. eg
*17:31:03 SQL>*
*20 rows deleted.*
Commit complete.
*17:31:33 SQL>*
*30 rows deleted.*
Commit complete.
*17:31:53 SQL>*
If I spool the file with time stamp I can get the timing for each DML.
Appreciate your help.
Thanks,

I need to know how much time is taking for each delete statement in sql file.
If I spool the file with time stamp I can get the timing for each DML. subtract the consecutive timestamps in the spool file.

Similar Messages

  • Imported iPhoto library -- Aperture set time stamp for each picture 5 hours

    Very annoying and bizarre -- I imported thousands of pictures, from 3 or 4 different cameras, and all of them have the time stamp 5 hours too early. I'm not worried about time zones, etc. -- even where the camera, computer and file resides in Chicago, and are set to Chicago time, a photo that was taken at 3 PM CST, and says so in iPhoto, says that it was taken at 10 AM CST in Aperture. Is there any easy way to fix this for all of the pictures?

    Hi Sharon,
    There is a way to make a change to the date of all pictures. Select all the pictures that need adjustment, then go to the "Metadata | Adjust Date and Time" function. Aperture will show the time of the first picture, and you can set that time to something else. Aperture determines the delta from current to new timestamp, and applies that same delta to all of the other pictures.
    You are also probably wondering how that happened in the first place. I don't know for sure, but try to import some more pictures, and in the upper right "Import Settings", select "Time Zone" See if the time zones match CST.
    nathan

  • Date and Time stamp for the archives

    Hi,
    I'm trying to set up a date/time stamp field for a Documaker archive.
    I've added a TIME_STAMP field in my APPIDX.DFD and I populate the field using a DAL script, invoked by a PreTransDAL line in my AFGJOB file. That works fine but, the DAL script being invoked for every transaction, it adds to the processing time.
    I do not need an exact date/time stamp for each transaction in the batch, I could use the same one for all the transactions. That would require the TIME_STAMP global variable to be populated once, at the job level, at the beginning of each batch.
    Any suggestions?
    Thanks.

    Hi Gaetan,
    Try using a BatchBannerBeginScript to populate a GVM with the date/time, and then reference this GVM in your APPIDX.DFD. In this manner the value will be updated at the start of processing for each batch rather than each transaction. Or, consider the possibility of adding the transaction date/time into the extract data and then sourcing from that point. Either should work. In my experience most customers prefer that the archive date/time come from the system of record rather than the time the transaction was archived -- unless of course the customer actually wants to record the time the transaction was archived, in which case the method I've described above should work.
    Enjoy!
    Andy

  • Can access a files time stamp for calculations?

    I'm using Diadem 10.2.  We have an issue with our data, where the first cycle is corrupt iff the time stamp between the current file and previous file is less than 30 minutes.  This indicates a manual intervention, and it results in skewed results.
    I want to discard the first cycle when the File time stamps are less than 30 minutes apart...but I can't find a way do it.
    We use runtime in the file as a time channel, begins at zero each file, so i can't use any channel values to do this?
    Thanks in advance for the help.  Completing this task will end my assignment with this team, and I'll be moving to a new position at the end of the week.  Not sure if Diadem is in my future or not, but I highly doubt it.
    Thanks in advance...

    Hi Jeff,
    What type of data files are these?  If it's a custom file format, did you write the DataPlugin that reads the file into DIAdem?  Is the aquired date/time stored inside the data file somewhere?  For a TDM or TDMS file, this would typically be in the "File.DateTime" property, which shows up in the DataFinder as "File.Storage datetime" and in the Data Portal as "File.Storage date/time".
    The File created and modifed dates you get from Windows tend to change unexpectedly, so it would not be ideal to use those for a mission-critical process.
    I'm assuming that you're loading all the various data files into DIAdem, then concatenating them into contiguous channels that contain all the data from all the files.  You will then need to use e "Calculate Differences" ANALYSIS function to create a new channel that has the delta date/time values for each row. Once this is the case, you can use the Channel Calculator to find rows where the delta date/time value is invalid and set these rows equal to NoValues.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • I have 2 ipods,one for music and the other for old time radio shows.Each had their own file.My computer crashed and I had to buy a new one.Now both ipod files are merged into one.How do I seperate them.

    I have 2 ipods,one for music and the other for old time radio shows.Each had their own file.My computer crashed and I had to buy a new one.Now both ipod files are merged into one.How do I seperate them on the computer?

    Hi Craig
    Unfortunately, in your case, there isn't really a way to separate them as far as I can think.
    You could try restoring from a backup, and choosing an older backup perhaps
    Cheers

  • How do I get a time stamp with EACH text message?

    How do I get a time stamp with EACH text message?

    Wow finally! It's nice to see Apple finally provided something as simple as a time stamp.
    Now if they would only put in an Auto Retry for text messaging I would be all set
    Does anyone use the current Android OS? Does it have an auto retry function?

  • Is there a DJ app for the Ipad that will read the "start" and "stop time" setting for each individual song, as they are set in the song Options screen in Itunes?

    Is there a DJ app for the Ipad that will read the "start" and "stop time" setting for each individual song, as they are set in the song Options screen in Itunes? The Ipod Touch, by itself does not allow cross-fading, therefore when the stop time is edited short, the song jusst truncates then goes to the next song. I tried the DJay ap and while it would crossfade, it would NOT read the song settings for the stop marker. So now I want to try and Ipad and see if there is an app that will READ the Itune stop settings within the song. I do NOT want an app that will allow me to DO the stop marker. I want an app that will READ the stop marker from the song as it is set in Itunes.

    Itunes provides the option for setting the Start and Stop times of each music track.  However, the start and stop times do not synchronize to the iPhone.  I don't understand why this option is even available as it doesn't work when listening to music on the phone.  I have not found another application that will support the start and stop time markets.  I have searched quite a bit for this but can't find anything.  I hope we can find something. 

  • When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

    When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

    When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

  • How to setup Time stamp for CO-PA.

    Hello Friends,
    I have created CO-PA datasource in KEB0. Defaultly, the delta method has been selected as
    'Generic delta'. But, I need time stamp for delta process.
    Where can I setup time stamp for CO-PA data source?
    Thanks
    Sumanth

    Hi,
    You need not maintain the timestamp for COPA separately.
    A generic data source for which delta based on the timestamp is automatically created.
    By default the delta for CO-PA is based on timestamp and you need not do it manually.
    Once you do an init for this and see an entry in RSA7 for the COPA data source then you check the option delta status in front of the data source...just click on it and it will tell you upon which field the delta for data source is based...you will find that for CO-PA its by default always timestamp.
    Thanks
    Ajeet

  • HT2513 Is there a way to see who made an appointment and at what time/on what date they made it? Kind of like a date/time stamp for our network calendar?

    Is there a way to see who made an appointment and what time/on what date they made it? Kind of like a date/time stamp for our network version of iCal? Everyone has all rights and privledges to everyone else's calendar, and sometimes we need to know who did what to whose.

    Christine,
    You can also ask in the Typography forum,
    http://forums.adobe.com/community/design_development/typography?view=discussions&start=0
    The guy running whatfontis is a regular poster there.
    And apart from
    http://www.whatfontis.com/
    there are
    http://www.identifont.com/
    http://new.myfonts.com/WhatTheFont/
    and especially for script,
    http://www.bowfinprintworks.com/ScriptIDGuide.html

  • How to get the time interveral for each status of worklow (wating,Inprocess

    Hi Friends,
    I have requreiemnt to get the time interval for each status of workflow.
    ex.
                                                                     status
    workflow id  | startd date | enddate       | waiting | Inprocessing|Error|......
    1026            10.10.2008  25.10.2008        1hr      1hr 30 min    2 hr
    Please do give me idea how to get the time stam of each status of workflow.
    Thanks,
    D.prabhu

    Hi,
    I think the following tables would be helpful to you:-
    SWW_CONT     Container Contents for Work Item Data Container
    SWW_CONTOB     "Container Cont. for Work Item Data Container (Only Objects)"     
    SWWLOGHIST     History of a work item     
    SWWORGTASK     Assignment of WIs to Org.Units and Tasks     
    SWWUSERWI      Current Work Items Assigned to a User     
    SWWWIHEAD     Header Table for all Work Item Types
    Hope it Helps!
    Regards,
    Kanika

  • Is there a way to turn on time stamps for all text messages?

    I want to time stamp all my messages not just select ones...is this possible

    Just swipe the text bubbles to the left to see time stamps for all messages you sent.

  • Why is the time stamp for delivered  vtext off by one hour?

    Why is the time stamp for delivered  vtext off by one hour?

    This is  a known bug. After midnight it will correct itself. Apple is aware of it.

  • Date and time stamp for the file

    Hi Experts,
    My Requirement is to create a csv file with the name testfile_date&timestamp.
    If i select add time stamp in the receiver file communication channel the file be as testfile_yyyymmdd_hhmmss_XXX.
    The XXX is message id which comes by default by selecting add timestamp option.
    but, i don't want the message id displayed in the file name.As i know from the blogs  we can reach this requirement as per Michels blog
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    I am not clear in the mapping. after writing the udf, to which filed i need to map with that udf.
    can you please tell me stel by step how how to do mapping and how to achieve the requirement. request you to send the code forthe  udf.
    Thanks
    Rahul

    Hi,
    you can wirte udf and map it to root element of the target message type. u just need to execute the udf.
    UDF:
    // UDF havs one input parameter - timestamp
    Code:
    DynamicConfiguration conf = (DynamicConfiguration) container .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String OldFileName  =  conf.get(key);
    String newFileName  =  "";
    if (OldFileName != null) {
        newFileName = "testfile_" +timestamp ;
        conf.put(key, newFileName);
    return  newFileName; 
    Mapping:
    Date (standard function) [Formmat yyyyMMdd_hhmmss] -> UDF -> MesageType.
    Thanks.
    Ritu

  • Time stamp for BioBench

    I am acquiring EMG data with BioBench while acquiring gait data from another source simultaneously. To correlate the data, it's important that the date stamps match. I would like to know where the time stamp comes from, and if there is a way to get more precision (milliseconds instead of seconds). Also, can I get more precision when I export, since this chops it off to the nearest minute.
    Thanks!

    The gait data can't be acquired with BioBench since it is from a motion capture package that acquires data in a completely different way with lots of complicated analysis involved. It processes dozens of frames per second from several video cameras to find the markers etc. I want to match the movement with the EMG signal exactly, to see when the movement begins in relation to the EMG signal. Therefore, I need to know exactly at what time each point in the BioBench file takes place in order to find out how much earlier the EMG signal started than the movement. Knowing when the EMG signal started to the nearest second is not nearly good enough resolution to say anything meaningful about the time difference between the onset of the EMG signal and the movement. The
    whole point of acquiring data at up to 1000 Hz is defeated if I only know the absolute time to the nearest second. For anyone who can't acquire all of their data with a DAQCard (motion capture, force plate, etc), the data can't be correlated if the creation time isn't accurate and precise, which really makes BioBench useless for data acquisition or analysis.
    Is there anyway to get the creation time to a better resolution? And does the creation time correspond exactly to the first point in the data? I think this would be a necessary improvement for many users.

Maybe you are looking for

  • Pick & Pack in SAP 8.8 PL 12

    Dear All, I have a scenario where I book a sales order against a particular warehouse. But I am never sure whether I will have inventory in that warehouse or some other warehouse at the time of delivery since it a liquid cargo and the tank warehouse

  • SSL VPN Tunnel and Windows 7

    Hi I have a SA520W with firmware 2.1.18 and are having huge trouble getting windows 7 clients to connect using the SSL VPN Tunnel in Split mode. I've tested the registered users using an XP machine, and they are able to log in just fine and I can pin

  • Estimating Security Resources Needed for Support Organization

    Hi Gurus, As our implementation winds down, I've been tasked with the pleasure of defining the security resource requirements needed for the future state support organization. Some high level details of the environment: -ECC 6.0, SCM SNC 7.1, BI, XI/

  • Setting up LAF

    I'm trying to change how my java app looks so i've gone to www.javootoo.com and downloaded a theme. from that i've got a .jar file. Now being a noobie I don't know how to set it up. I setup a CLASPATH environment variable but then I can't compile my

  • Is there a way to track word files using bridge cs6

    Hello, Im new to bridge and see i can track jpegs, tiffs etc using keyword. Quite nice. However, if i place a word document or excel file (1 of say 50) I'd like to know i placed it in indesign.  I've assigned a placed keyword so i can keep track of p