How to use audit to monitor sp runing and time?

Suppose I have a stored procedure mysp, I want to monitor when the sp is called and running and how much time the sp running(when it's started and when it ends).
Is it possible to use ase auditing to monitor it and record the data in sysaudits_nn table? if yes, how to configure audit for specific sp?

I try this for single proc, like:
sp_audit 'exec_procedure', 'all', 'dbname.dbo.myproc' ,'on'
it is fine. Then I try to do this for all sp. try following:
sp_audit 'exec_procedure', 'all', 'all' ,'on'
it's not working. give me error:
11:31:25.438
DBMS
mysyb -- Number (18228) Severity (16) State (1) Server (MYSYB) Procedure (sp_audit) 'all' is not a valid object name.
how to fix it? I want to monitor on calling on all sp in user database. 

Similar Messages

  • How to use a second monitor in I movie 11

    How can I use a second monitor in i movie.  I could use it under preference in imovie 9, but in the new imovie 11 i can't find any advanced  prefernces let alone how to use a second monitor

    I too got the same. Both monitors went portrait. Then I unchecked the 'Mirror Display' option in the Arrangment tab of iMac display and voila. Got what I wanted.

  • How to use a secondary monitor in Portrait mode

    Finally discovered how to do this.  Here is how to use a second monitor in portrait mode:
    Open System Preferences from your iMac dock.
    Click Displays - Click Arrangement - Click Gather Windows - the secondary monitor dialog box opens.
    Click Rotation - Click 90 degrees rotation for PORTRAIT MODE.
    Click CONFIRM on the secondary monitor to keep Portrait mode.
    Select the desired resolution. I chose 1200 x 1920.
    You'll see a dialog box that says, "About to change the display mode."
    Click OKAY.
    Click Confirm. (If it appears. For some resolutions, I did not have to click confirm, most likely because the monitor supports those resolutions.) 
    Then resize the windows of the software you're using.
    Done!

    I too got the same. Both monitors went portrait. Then I unchecked the 'Mirror Display' option in the Arrangment tab of iMac display and voila. Got what I wanted.

  • How to use multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8?

    Hi!
    Question about the problem mentioned in subject.
    I have configured that JNLP opens with 1.5 version, both versions are enabled in Java Control Panel Runtime Settings but when I try to start a desktop java console says:
    Java Web Start 1.5.0_22
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    And the opening of the desktop creates an exception:
    Java Web Start - Invalid Argument Error
    TooManyArgumentsException[ Too many arguments supplied: {C:\WINDOWS\Temporary, Internet, Files\Content.IE5\....
    I'm trying to open my desktop with 1.5 version and other programs with 1.6 version. What is it that I still need to do? I'm kind of confused with this. Some of my collagues have succeeded with this and some doesn't, with the same configuration.
    So the question is, how to use multiple JREs with IE8 so that one application uses 1.5 version and others 1.6 version?
    Br,
    Katri
    Edited by: ka**** on 09-Mar-2011 01:16
    Edited by: ka**** on 09-Mar-2011 03:16

    ka**** wrote:
    ..Question about the problem mentioned in subject.No "Using multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8" is a statement. To transform it to a question would be something like "How to use multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8?".
    Once you can come up with an actual question, I might look at this more closely.

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

  • How to use the Variants in SAP Transportation and what is its use ?

    Hi experts,
    How to use the Variants in SAP Transportation and what is its use & How to create a variant in SAP ?
    Can anybody answer this ?
    Regards,
    Shakti

    Hi,
    If you are asking about "slection vairants" in SPRO settings of "shipment cost document" then
    When it is activated,
    each user can have his own slecetion  and list criteria for
    1. List shippment costs:calculation
    2. List shippment costs: settlement
    This can be directly saved from VI01 screen by the user.
    from environment> lists
    This is user specific only.
    Hope this helps.
    Regards,
    Sharan

  • How to use base band wave,subcarrier wave and carrier wave to creat the FM wave? When I use the MT Modulate FM VI in USRP,I don't konw how to use it.

    How to use base band wave,subcarrier wave and carrier wave to  creat  the FM wave? When I use the MT Modulate FM VI in USRP,I don't konw how to
    use it.

    https://decibel.ni.com/content/docs/DOC-24206
    Let us know if that example doesn't help you
    Anthony F.
    Product Marketing Engineer
    National Instruments

  • In ECC6,how to use tcode se63 to translate short and long texts?

    In sap 4.6c, I know how to use tcode se63 to translate short and long text. However, in ecc6,when i use se63 to translate abap data element short  texts, i cannot save it .A error message appare: Could not save target text  Message no. SKTY000.
    Can any body help me?

    Hi,
    This is  because o source language must be different from target language.
    regards,
    Eduardo Marcelino

  • How to use " toFront() " method in java application and in which package or

    How to use " toFront() " method in java application and in which package or class having this toFront() method.if anybody know pl. send example.

    The API documentation has a link at the top of every page that says "Index". If you follow that and look for toFront(), you will find it exists in java.awt.Window and javax.swing.JInternalFrame.
    To use it in a Java application, create an object x of either of those two classes and write "x.toFront();".

  • How to use KAUF_AUFNR_CHANGE  to change Process order and Update a field

    Hello ,
    I am working on 4.6C system and I hve a requirement to change Process order and Update a field value passed from a ABAP Program. I am looking for suitable Function modules or Bapi ( available in 4.6c) .
    I have come across FM KAUF_AUFNR_CHANGE . Would appreciate any guidance on how to use the FM in my program and Update a field in the Process order.
    Many Thanks!

    All the importing parameters of this function module have a striaght structure of the transperent tables...
    i have checked the code and it has a modify statement based on the importing parameter..
    pick one record in databas and pass it to the importing parameters, with some values changed...
    i think that should work
    what values  to pass the import values of FM -KAUF_AUFNR_CHANGE.
    Edited by: ssm on Aug 4, 2011 7:19 PM

  • HOW DO use the Mikey 2.0 iPod and iPhone Microphone with my IPHONE4

    HOW DO use the Mikey 2.0 iPod and iPhone Microphone with my IPHONE4

    Did the microphone come with a user manual? You might contact support for the microphone.
    Just so you know the iPhone 4 has a built-in microphone

  • How can I get rid of the dates and time on my Notes

    How do I get rid of the dates and times on my Notes that appeared when I updated to 8?

    Yes, it's seems like a poor design decision.
    By putting the date on the line below the Note title in the Notes Index, the app shows half the number of notes per page AND if you have a large number of notes, it takes twice as long to stroll down.
    I doubt the designer actually uses the app. 
    TSAW

  • How to use two external monitors and Tecra M5

    Hi ,
    I've been used to work with two 17" monitors connected to a computer in extended desktop monitor view, ii've just changed Job and now i have the following setup:
    a Toshiba Laptop connected to Toshiba Tecra M5 dockstation and one external 17" monitor connected to dockstation digital port that works fine.
    I also have connected another external 17" monitor to the Dockstation RGB port but keeps black
    I'ts really awful to work like this switching between the 17" monitor and the small toshiba laptop monitor.
    What i'd like is to work with the two external 17" monitor, and keep the laptop monitor off, or if possible on.
    Any ideas???
    Any help will be very wellcome
    Mari PAz

    I have an M11-17V, and the docking station that came with it has 2 monitor outputs, analogue and DVI. I wondered what it would do if I connected a monitor to both. Windows recognised that it was faced with 3 screens (including the built-in one) and asked me to choose which 2 of the 3 I wanted it to use.
    I was disappointed it would not allow me to use all of them TBH, but if your docking station is the same, it might answer your question.

  • How to Use Audition in Your Video Workflow. | Digital Video CS6 | Adobe TV

    Learn the tips and tricks to use Auditon CS6 in your post.
    http://adobe.ly/Ir7UIX

    I have been using Vegas Pro for several years and have switched to CS6 premiere pro.
    I have studied the adobe tv tutorials but feel they are too advanced and are directed at users of previous versions. I am also a subscriber to Lynda.com and find the same thing in their lessons. I am about ready to give up and go back to vegas pro. Any suggestions? Maybe I should start with Premiere cs5??

  • How to use a slider to turn on and off lights

    Hi guys. i am fairly familiar with Labview now but cant seen to get my head around this problem. i have a slider which is numbered from 1 to 10. below the slider i inserted 10 LED lights. my aim sis to use the slider to turn on and off the lights. for an exmaple, when i set the slider to one, the light on the far left should go on. when i set the slider to 2, the first light should go on and the second light next to it should go on, and the pattern continues. i thought of using the number to array boolean but it didnt seem to do the trick. could you please help me out. i have attached the basic layout of how i wanted the objects to be arranged
    kind regards
    joe
    Solved!
    Go to Solution.
    Attachments:
    led control.vi ‏7 KB

    wow! simplicity at its best! thats really straight forward to understand. i think you are right about making complicated circuits. the reason why i had asked to know how to do this was because i wanted to learn how to control motor directions using a slider. so after i thought i had got the easiest way of giving out 2 different outputs using a slider, i replaced the lights with switches that changed the direction of the motor. i successfully did this for the first motor and it rotated fairly well, but wanted to control 4 in total. so i simply copied and pasted the code and re-asigned the switches to different motors. when i did this, the results did work BUT the motors went very very slow. the movement was not steady and kept skipping. i think this its due to the coding being overly complicated thefore causing a serious lag. if you could please have a look
    kind regards
    joe
    Attachments:
    controling test.vi ‏29 KB

Maybe you are looking for