Need help identifying the application responsible for an insert...

Hi,
I'm a MSSQL guy and Oracle is still a bit mysterious to me.  I'm looking for some assistance tracking down the application in an environment which is responsible for particular inserts.
For example, suppose I have 10 different programs running and inserting values to a DB.  I need to know which one of them inserts a "0" in a particular column.
I found a trigger which will tell me the user, unfortunately these programs use a shared credential so that doesn't help me.... here's what I've got:
CREATE OR REPLACE TRIGGER check_for_zero_insert
AFTER INSERT
  ON DATA_TABLE_0001
  FOR EACH ROW
DECLARE
  v_username varchar2(10);
BEGIN
  -- Find username of person performing the INSERT into the table
  SELECT user INTO v_username
  FROM dual;
  -- Insert record into audit table
  INSERT INTO audit_table
  ( samplevalue
  sampletime,
  username )
  VALUES
  ( :sampletime,
  :samplevalue
   v_username );
END;
But again, username won't help me, I need the originating process if at all possible (either an executable name, PID, or something to identify the specific application on the other side.)

use this in your trigger
select sys_context('USERENV','OS_USER') ||'-' ||user  into v_username from dual;
You might need to increase the v_username data type length.
Thanks,
GPU

Similar Messages

  • I need help getting the license number for Adobe Photoshop Elements. However, It doesn't recognize me as an authorized user. Can someone help?

    I need help getting the license number for Adobe Photoshop Elements. However, It doesn't recognize me as an authorized user. Can someone help?@

    I am having the same problem...did you ever fix it?

  • I accidentally added the app store apple id wrong, then I was able to put the right one but now that I need to update the application tells me to insert the id of the psw wrong, how do I change it?

    I accidentally added the app store apple id wrong, then I was able to put the right one but now that I need to update the application tells me to insert the id of the psw wrong, how do I change it?

    You must update the apps with the Apple ID that they are purchased with.
    The only way to get round this is to re-purchase the app with the new Apple ID.

  • Need help finding the best Mac for gf

    hi I need help finding the best desktop. I am looking to buy MAC for gf.
    she uses final cut program question is does the GB/RAM/STORAGE matter on performance?
    She has a 2009 Apple computer I want to upgrade her to a new one
    I Dont know much when it comes to specs. She edits tons of videos and pictures.
    what's recommended for a video/photo editor that's good in performance ?

    Pro consumer might go with iMac even.
    Final Cut Pro latest benefits from dual AMD graphics.
    Video is one animal, graphics a much different.
    Great site full of performance, buying and configuration ideas:
    MacPerformance Go to the main topics
    I think you need to get clear on budgets. start with mid range and add all the options and can spend $4,000 or $7,000.
    Go to the Mac Store and do some looking and Google for reviews of software, hardware of course.
    Barefeats
    Rumors Pro
    Visit the forum for FCP-X would be a place to start.
    Final Cut Pro X

  • Need help finding the applications in Windows 8.

    i have downloaded the creative cloud and installed photoshop and illustrator cc but can't open them? i have been stuck for some hours now. i need help please?

    Hello. You are running Windows 8?
    You need to navigate to your applications.
    Hit the windows key on your keyboard, you should see the start screen, where Lightroom and Photoshop should be. You can right-click on them to pin them to the task bar.

  • I need help updating the graphic drivers for my laptop.

    Recently purchasd a new game and I am having some issues with the graphics. Every post I have read suggests it is an issue between HP and amd. I keep trying and seem to be going backwards. I would love to actually talk to someone from hp but they haven their number very well. I have tried every combination between hp and amd and I am obviously missing something. I dont have much hair left to pull out.

    Hi there ,  Thank you for visiting the HP Support Forums and Welcome! This is a great site to get answers and ask questions.  I read your post on the HP Support Forums and you had mentioned that you are looking for help Updating the Graphics Drivers on your HP Pavilion dv7t-6c00 CTO Notebook PC.  I have the actual drivers page for your specific HP Pavilion dv7t-6c00 CTO. It has the AMD Graphic Driver on this page. You could also update the drivers a couple other ways.  1. Using the HP Support Assistant2. Going into the Device Manager, Right click on the AMD Graphic and doing an update.  You had also mentioned that you wanted to actually talk to someone from HP. Please use the following link to create yourself a case number, then call and it may help speed up the call process:
    Step 1. Open link: www.hp.com/contacthp/Step 2. Enter Product number or select to auto detect
    Step 3. Scroll down to "Still need help? Complete the form to select your contact options"
    Step 4. Scroll down and click on: HP contact options - click on Get phone number
    Case number and phone number appear.
    They will be happy to assist you immediately. Let me know how everything goes.  Have a great day!

  • Need help : Installing the standalone OEPE for OSB 11g for development

    Hi All,
    It would be greatly appreciated if any one could share the details of installing the standalone OEPE (Eclipse along with the OSB plugin for 11g) for development purpose.
    If possible kindly share the download link for the same.
    Thanks in advance.
    Regards,
    Balaji R

    Hi,
    To have OEPE with the plugins for OSB you actually have to install Weblogic with OEPE and OSB. OEPE will need the libraries in Weblogic and OSB installation...
    The latest version for Weblogic+OEPE (Indigo) for Windows
    http://download.oracle.com/otn/nt/middleware/11g/wls/1211/oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32.exe
    The latest version for OSB for Windows
    http://download.oracle.com/otn/nt/middleware/11g/111160/ofm_osb_generic_11.1.1.6.0_disk1_1of1.zip
    Weblogic download page...
    http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
    OSB download page...
    http://www.oracle.com/technetwork/middleware/service-bus/downloads/index.html
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • I need help changing the security key for WRT54G2 1.5

    I already know the security key on my network, I just need to change it.  I don't have 'cisco connect'. I've tried the web based method with the 192.168.1.1 IP and using 'admin' for the password, but that gives me a '401 Not Authorized' error.  I've tried using my own security key instead of 'admin' and that doesn't work either.   How do I change this.  I tried to use the Linsky's knowledgebase and that didn't help. Live Chat won't help unless I'm willing to sign-up for some paid service plan, and there is no way I'm doing that.  I've never heard of a company charging their customers just to explain how to do something. All I have is a simple question about how to change the network security key when I already know what it is and there is no problem with the connection. Can anyone help me.  PLEASE.

    If admin didn’t work, it’s possible that you might have setup a different password to login to the setup of the router when you initially set it up. Since admin and your security key didn’t work when you tried accessing your router page, the other option for you then is to reset the router. Push and hold the reset button on the router using a pin or a paper clip for 30 seconds and unplug the power cord for another 30 seconds. Once the power light goes solid, you may start reconfiguring the settings of the router. For instructions, refer to these links: Setting up a Linksys router with Cable Internet service & Setting up a Linksys router for DSL Internet connection. Once you establish the wired internet connection, you may then start reconfiguring the wireless settings. Go to the Wireless tab: set the wireless configuration to manual; set a network name; then save the settings. Once saved, click on Wireless Security subtab:  set the security mode to WPA2 Personal and enter a new security key on the passphrase bar.

  • I need to know the application ID for Speech Feedback.

    I have a problem, the speech feedback icon is in my window after I used it for a while. I went to system preferances and turned speech feedback off. The icon did not disappear. I have tried right clicking for options but nothing happened. I also looked up a converstion in which the questioner was using later software than mine. He had updated his software and the icon was deleted on his desktop. At the end of the conversation between the apple user and the apple attendant the attendant said alternately he could go to the terminal application and type "kill #" the hashtag stands for the item ID. He reffered to an application which I have never seen nore heard of called Process ID. Of course, the user had been using older software than I at the time. I would like to know what the ID for Speech Feedback is so I can delete the icon using terminal. The other recomendations  the attendant reffered to did not work, so again, what is the system ID for the Speech Feedback icon/application?

    Hi, it'll have a different number depending on when it starts, one way to see the PID is to...
    Open Activity Monitor in Applications>Utilities, select All Processes & sort on, sort on Nasame for instance.
    Another to just type top into Terminal...
    QS2002-G5:~ bdaqua$ top
    Processes:  94 total, 4 running, 90 sleeping... 307 threads            17:20:27
    Load Avg:  2.36, 2.27, 2.25     CPU usage:  51.2% user, 9.4% sys, 39.4% idle   
    SharedLibs: num =  190, resident = 73.9M code, 5.50M data, 22.9M LinkEdit
    MemRegions: num = 29182, resident = 1.49G + 22.6M private,  459M shared
    PhysMem:   560M wired,  437M active, 1.85G inactive, 2.82G used, 7.18G free
    VM: 18.4G +  114M   108548(0) pageins, 0(0) pageouts
      PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS RPRVT  RSHRD  RSIZE  VSIZE
    1815 top         29.0%  0:05.32   1    18    22   680K   520K  1.09M  27.0M
    1813 Tri-Backup   0.6%  0:31.47   3   256   309  90.4M+ 40.9M  51.7M+  491M
    1795 Mail         0.0%  1:40.68   6   137   511  83.7M  59.4M   101M   542M
    1794 lookupd      0.0%  0:07.23   2    34    35  1.36M   712K  1.91M  28.1M
    1678 seamonkey-  99.8%  8:08:36  15   196  2049   243M- 79.3M   276M-  668M-
    1673 firefox-bi 100.7%  9:20:19  16   208  3701   561M+  104M   601M+ 1007M+
    1597 writeconfi   0.0%  0:00.09   1    22    27   368K   932K  1.79M  27.3M
    1590 NetCfgTool   0.0%  0:00.02   1    22    24   248K   900K  1.01M  27.2M
    1587 System Pre   0.0%  0:05.96   3   147   391  17.8M  35.4M  26.2M   384M
    1566 Preview      0.0%  0:05.11   4    87   304  6.01M  37.1M  16.1M   371M
    1432 httpd        0.0%  0:00.17   1    12    81   260K  1.81M   876K  28.2M
    1430 Grab         0.0%  0:01.62   3   160   300  4.61M  32.6M  19.4M   369M
    1392 SMART Util   0.0%  0:02.60   3   101   291  6.95M  45.0M  28.1M   403M
    1388 bash         0.0%  0:00.02   1    14    17   204K   968K  1.33M  27.2M
    1387 login        0.0%  0:00.02   1    16    37   124K   560K  1.68M  26.9M
    1385 Terminal     0.5%  0:55.87   3    70   251  2.71M  31.3M  17.3M   363M
    1379 httpd        0.0%  0:00.28   1    12    81   260K  1.81M   876K  28.2M
    1376 Network Ut   0.0%  8:46.44   2    89   265  3.37M  31.6M  5.77M   363M
    1374 httpd        0.0%  0:00.32   1    12    81   280K  1.80M   884K  28.2M
      958 Canvas 9?~D   1.1% 25:47.61   8   107  2184   115M  94.1M   150M   577M
    [1]+  Stopped                 top
    Type control+z to get the prompt back.

  • I need help finding the proper website for downloading the proper version of firefox for my PPC MAc

    ''locking as a duplicate of this - https://support.mozilla.com/en-US/questions/847742''
    I just asked this question but it got lost in the mail. I have a Mac PPC G5 2.0 MHZ dual Motorola processor and I need to know the proper version that my mac will work with and I need to know where on your site to go to get it. I need the exact link to download it please.
    Scott Goldberg

    Firefox 2.0.0.20 is the last release that runs on Mac OS X 10.2 and 10.3
    * http://www.mozilla.com/firefox/2.0/system-requirements/
    * https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.20/mac/en-US/
    Firefox 4 requires at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    * http://www.mozilla.com/firefox/3.6/system-requirements/

  • Need help regarding the maximum limit for data type

    Hi,
    this is Sravan. for my application am inserting the bulk data in XML format into a column of Database table.
    the sample inserted XML data will be in format... like
    '<ACC count = "10">
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    <Acc ac_no = "1111111111" cn_nr = "US" eflag = "Y" />
    </ACC>'
    this data in XML can have more than 1000 accounts.
    now, i need to take a Parameter value from XML node and write into a file. for this i have written a procedure by looping the Nodes from XML data and building Dynamic Query like..
    if nvl(v_int, 0) > 0 then
    v_sql := '';
         for v_count in 1..v_int
         loop
         if v_sql is null then
              v_sql := 'select extractvalue(empdetails, ''/ACC/Acc' || v_count ||'/@ac_no'')||extractvalue(empdetails, ''/ACC/Acc' || v_count
    ||'/@cn_nr'')||extractvalue(empdetails, ''/ACC/Acc' || v_count ||'/@eflag'') string from sample1';
         elsif v_sql is not null then
                   v_sql := v_sql || ' union all select extractvalue(empdetails, ''/ACC/Acc' || v_count ||'/@ac_no'')||extractvalue(empdetails, ''/ACC/Acc' || v_count
    ||'/@cn_nr'')||extractvalue(empdetails, ''/ACC/Acc' || v_count ||'/@eflag'') string from sample1';
              end if;
         end loop;
    end if;
    i will get this variable "v_int" from <ACC count = "10"> ACC count Attribute, here 10 is the value for v_int variable but in real time the variable value can be more than 1000.
    at the time of Building Dynamic Query I make using the Variable v_SQL which is of Data Type "Long",
    this variable stores dynamic query which is build at the time of executing procedure but this v_sql Variable is throughing Exception that ....
    "numeric or value error Character String Buffer is Too Small"... but Long Data type will store upto 2GB..
    this variable cant able to hold much data which is dynamically build.
    will you please help me to resolve this issue Or will u suggest me another method to pick the data from XML column.
    thanks,
    sravan.

    user11176969 wrote:
    i changed the code, now its working fine.
    direct assigning the dynamic query to a Clob variable raised error.
    for dynamic query building i used another variable and assigned this variable value to actual query variable.Nice!

  • Need help selecting the right MBP for me, just bought a pc with Windows 8 and I already regret it..

    Ok, so I'm an engineering student and I am in need of a good laptop to run programming and design type software. I have an older iMac which I love but I need the portability of a laptop for school. I was thinking I would be fine with a pc since most of the software I would be using for school is windows based. So last night, after shopping around for quite a bit, I decided to go with a Sony Vaio E series laptop with Windows 8, 8gb ram, i7 processor, dedicated graphics card, 1tb hard drive, and touch screen. It was the best performance laptop (on paper) Best Buy had in the store for just under $1000. I would have loved to get an upper end MBP but they are over twice the price as the Sony.. So I get it home with the Vaio and it feels laggy and glitchy, it takes 2 seconds for the window to pop up after 'right clicking', I can see lines in the screen, the resolution seems far from HD when on the normal looking windows side (as opposed to the tablet look, forgive my poor terminology) and the web browser, and the touch pad seems to be hit or miss in that it doesn't always register the touch pad commands. I checked all of the visual and performance settings, made the resolution as high as possible, changed some of the settings to the high performance settings, made sure all of my drivers were updated, and the only effect was a very loud fan that runs constantly.
    So in short, I am going to take this back and start looking at the macbook pros. Here's my dilemna, I don't know which specs I will definitely need in a Macbook Pro. I need to be able to run windows on it either in parallel or as a partition for my programs necessary for school. Can the MBP run windows smoothly enough to run 3D design types of programs? If so, which one should I get? I love the size of the 13" MBP but it only has a dual core processor, instead of the quad core like the 15" MBP, I'm not sure if I definitely need the quad over the dual core. I would love a solid state MBP but they are out of my price range and not enough space if I end up partitioning it.
    Sorry for the book, but school starts Monday and I need some direction to find out which one I need to get fairly quickly. Any help would be greatly appreciated.

    Take a look at this MBP, a refurbished unit.  Don't let the late 2011 release date put you off.  For about  $500 less than an equivalent 'new' one with similar specifications you get a quad core CPU and excellent graphics.  As Steve359 mentioned, this can be upgraded if the need arises and has the same warranty as a 'new' one
    I would not be surprised that these may actually be 'new' MBPs due to the length of time that they have been replaced by the current generation.  I purchased a 17" model about 5 weeks ago, and a serial number check suggests that it is 9 weeks old.
    http://store.apple.com/us/product/G0NM5LL/A
    Ciao.

  • Need help identifying my master socket for broadba...

    Hi i am awaiting my line to go active for broadband but i just want to make sure the socket i am going to use is my master socket.
    I can only find 1 socket in my house and it has a T logo in the bottom corner. This socket is on the bottom of my stairs (annoying place). I have opened it up and it looks like it has a capacitor on it. When i follow my wire coming out of the box it goes down a couple of steps and goes into another small box with a T logo on the front but all this has on it is a screw dot in the middle and another T logo. 
    So is the socket on stairs the master socket and if so what is this other box is it some sort of wiring centre?
    Solved!
    Go to Solution.

    Ahh right so it is my master socket but it must be older than the picture above as mine takes the whole face off and not just the bottom section and it does not have any test point on it.
    Would it be recommned to update my socket to a newer one? I ask this as i was looking into iplates to help boost my speed but there not conpatible with my current socket.
    And i need to put a extention into my living room is it best to just plug it into my master socket or will i lose speed this way?

  • Need help getting the wireless driver for my x120e.

    This has been the most difficult thing ever. I have literally tried all of the wireless LAN and WAN drivers under all 4 of the x120e driver options. Which is odd because there are 4 options for the x120e when you search for it. As shown here: (http://i.imgur.com/4K9sB.png). I would love some help in getting the correct driver. Any and all help is appreciated, let me know if there is any other information needed.
    Solved!
    Go to Solution.

    no worries.
    you mentioned that you have tried a number of driver packs, to no avail.
    can you confirm if you've tried this: http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS012809
    ThinkPad 2x2 11a/b/g/n Wireless LAN PCI Express Half Mini Card Adapter for Windows 7 (32-bit, 64-bit), Vista (32-bit, 64-bit) and XP
    found in the X120e driver matrix, here: http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&DocID=HT072377
    cheers.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • I need help with the VPAID library for OSMF

    Hello,
    I recently needed to create a VPAID based player for a client and I want it to get rid of the old JWPlayer/OVA approaching and go for the OSMF with VAST/VPAID libaries. The fact is that I tried to use your sample application from SVN files (VPAIDSample) but for some reason the LinearAD is played in the same time with the video clip (the clip to play) and is not visible. Also I can only hear the sound of it and at some point the sound from the LinearAD is played over the sound of the video clip. I don't know if I was specific enough but please let me know if you have a sollution on this matter or if you need any other information.
    Regards,
             Marius Constantin.

    Hi Marius,
    I think this problem could be linked to the changes in the layout API and the order of the loading of the video elements.
    Please try to add layoutmetadata with index property to parallel videos so they render in the correct order, something like:
                var layout1:LayoutMetadata = new LayoutMetadata();
                layout1.index= 10 ;
                videoElement.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layout1);
                var layout2:LayoutMetadata = new LayoutMetadata();
                 layout2.index= 20 ;
                 vpaidNonLinear.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layout2);
    Tell me if that worked,
    S.

Maybe you are looking for

  • Can't open multiple FF windows anymore

    Hey there, maybe two months ago I updated to FF 31.0 and then the problems started. The first thing I recognized, one of my AddOns didn't work as usual, but I thought "ok, new FF version, maybe in one or two weeks it'll work as well" Then I recognize

  • Correct Order for BI+ services restart

    Hi All, We have the below services in BI+ What is the correct order to start them. Hyperion S9 BI+ 9.3 Core Services 1 Hyperion S9 BI+ 9.3 Interactive Reporting 1 Hyperion S9 BI+ 9.3 Financial Reporting Java RMI Registry Hyperion S9 BI+ 9.3 Financial

  • Plz help me in following questions

    8.     Execute the procedure created in Question 7 to create an Order record for customerID = "VINET", EmployeeID = 100, OrderDate = CurrentDate with a RequiredDate of January 4, 2007. Show the OrderID of the order inserted into the Order table.

  • Warehouse Task NOT Getting Saved, getting dump "Posting_illegal_statement"

    HI All, While trying to "create + save" warehouse task for the inbound delivery (in EWM 9.1) , warehouse task numbers are getting generated but not saved. I am getting an update error saying "update was terminated for author ___" . On checking the du

  • Long delay starting up in Leopard

    I have been finding that my Mac Mini is taking an inordinately long time to start up in Leopard 10.5.5. I have long delays in both the gray screen with the rotating gear, and also in the "blue screen" that appears afterwards. I have tried starting up