How to view executed sql history?

I have encountered some strange errors in my productive database. I want to view the sql execution logs. but I don't know how to view it. is there any good methods to check the sql execution history?

The core dump trace file will have information you need for troubleshooting. Most of time including the SQL that caused the problem if it was caused by certain SQL.
Check your core dump destination. Core dump is not usual in Oracle operation, it's worth to submit a SR .

Similar Messages

  • How to view the sql query?

    hi,
      how to view the sql query formed from the xml structure in the receiver jdbc?

    You can view SAP Note at
    http://service.sap.com/notes
    But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
    Reason and Prerequisites
    You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
    Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
    Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
    When you want to use a parameter documented here, please be aware to which category it belongs!
    Solution
    The following list shows all available parameters of category 1 or 2. Please note:
    Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
    Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
    The default value of a parameter is always chosen that it does not change the standard functionality
    JDBC Receiver Adapter Parameters
    1. Parameter name: "logSQLStatement"
                  Parameter type: boolean
                  Parameter value: true for any string value, false only for empty string
                  Parameter value default: false (empty String)
                  Available with: SP9
                  Category: 2
                  Description:
                  When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
                  This should be used only during the test phase and not in productive scenarios.
    Regards,
    Prateek

  • How to view deleted internet history?

    I would like to know how to view the internet history that has been deleted on my mbp. Also is there a way to set this up on a pass word so it Can not be deleted?

    I think I gotcha. Your messages are stored on the server of your ISP; Apple Mail is only a conduit for this information. You can delete the messages on your webmail, and that should get rid of the history, as well, since the information is located on the server. I've never tried it, but you could contact your ISP and authorize them to delete the history for you - realizing that you will never have access to this information ever again.
    Each ISP manages its servers differently. Some delete them monthly; other yearly. But Apple Mail won't help you; only your ISP can solve your woes.
    Tell me if you have success!

  • How to viewi detailed call history

    Anyone know how to view your call history online.  I went to verizonwireless.com and signed in.
    I tried the view usage but it just said so many minutes of so many minutes.. I'm looking for detailed calls, like phone numbers.
    I  lost a number and I know I called it on a certain date and want to find the number again.

    It sounds like this may be a pre-paid account or possibly you are on a family plan as a secondary number? 
    If this call is fairly recent it may be in the call logs on the phone.  On a basic phone, if you press the "Send" button you can pull up a history of calls sent and received. On most smartphones, pulling up the phone and pressing the "History" will do the same.

  • How Can I Execute Sql Query in Managed bean?

    Hi,
    I want to execute sql query in managedbean and get the query result. How can I do?
    Best wishes!

    You can do this by having current Database connection your application is using like this
    public static synchronized DBTransaction getDBTransaction(){
    FacesContext ctx = FacesContext.getCurrentInstance();
    ValueBinding vb = ctx.getApplication().createValueBinding("#{data}");
    BindingContext bc = (BindingContext)vb.getValue(ctx.getCurrentInstance());
    DataControl dc = bc.findDataControl("AppModuleDataControl");
    ApplicationModuleImpl am = ((ApplicationModuleImpl)(ApplicationModule)dc.getDataProvider());
    return am.getDBTransaction();
    and then user DBTransaction object to create Statement and PreparedStatement you can find those in java doc.

  • How to view my printer history?

    For some reason when i went to my mothers for the summer my dad decided to use up all of my ink.  When i left i had only used the printer at the most 10 times for school, but when i got back i went to copy my school schedule and it said that the ink level was really low.  I asked my dad how much he used my printer and he said that he only used it to print "a couple of pages".  I told him that he had to have used it more than that and that he has to get me more ink now. He then said that he did print many pages and that he wasn't getting me any ink.  I don't care what he printed i just want to show him that it was a little more than a "few pages" and that he needs to pay for the next thing of ink.  My printer is a Photostat 5510d B111h and I think that when i first got it i somehow saw the print history but am not sure so if someone could please tell me how to view it if i can because I have an 2 english reports, a drivers ed paper, and a spanish essay due from 3 days to 1 week.
    This question was solved.
    View Solution.

    The test page printed in Solution Six on this document has information on how many pages have been printed.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to view the sql behind a report.

    Hi All,
    i am using OBIEE 10.1.3.4.1. while running a report its showing no result. There is something wrong with the join I guess. But still I need to see the sql it generates.
    In NQQuery.log its not updating the sql that I am running a report in answer. How Can I view the detail sql behind the report? Is any more settings to do for view the SQl...
    Thanks in advance,
    Deepak.

    Hi Deepak,
    go to Settings > Administration > Manage Sessions from front end..
    You'll find view log option related to the report you run..
    Make sure that you've set loglevel greater than equals to 2 for the logged in user(in rpd level)

  • How to view your purchase history

    how to view your purchase history

    To view your account's full purchase history follow the instructions on the page that you linked to.

  • How to view iTunes sync history

    I'm trying to figure out how to view the history of device syncs for itunes. I've found other websites that show file directories for Windows computers, but I haven't come across a way to view the history on a mac.
    P.S.-I'm not trying to erase my history, I want to VIEW it.

    Well my iPod screen is cracked. However I haven't dropped it or done anything to it that would crack it. I keep it in my pocket by itself so that keys or pens can't stab it. I had my ipod syncing on my computer, and I went to practice my violin for a good 30 mins or so, then afterwards I went to get back on my computer and I looked down at my ipod. And lo and behold a crack was on there. I have a younger brother who breaks EVERYTHING. And switching my ipod with his if he broke it is something I wouldn't put past him. However I want to check to see if I'm right or not, so I need to look at the history to see if the serial number of the ipod changed recently (meaning he switched them.)

  • How to view the sql query generated in query designer..?

    Hi experts,
       Can i view the sql query generated by the query designer for a query in sap bw?
    regards,
    ksvsivam

    Hi Sivam,
    You can definitely view the sql query.
    Go to RSRT and give the report name. Then goto Execute+Debug and click on it.
    A new window will open, there tick the box  Display SQL/BIA Query and the press on the ok button.
    Finally click on execute. The Sql query will be displayed.
    Hope this helps.
    Thanks,
    Rahul

  • How to view the sql queries generated by EJB (CMP)

    Hello,
    I'm using Oracle9iAS (9.0.2.1.0) Containers for J2EE (build 020827.1652) & Oracle 8.1.7 database.
    I have a CMP that has about 400 fields and the corrsoponding table has about 800 fields. I'm able to call create and add a row in database.
    Now when I call update method to set the remaining fields of this row (I get the proper instance by calling findByPrimaryKey()) I'm getting an exception ORA-00957 duplicate column name.
    I'm using reflection to set all the fields by passing my update method a HashMap and setting those fields that this HashMap contains. And as HashMap cannot contain duplicate keys the possiblility of having duplicates is eliminated.
    But why am I getting ORA-00957 duplicate column name.
    Is there a way I can configure somehow to view what sql query is being generated by the OC4j container when its firing this query to update the database table.
    Any help will be greatly appriciated.
    Vipin.

    Install IronTrack SQL as described in the following link
    http://www.irongrid.com/documentation/irontracksql/install.html#install_oracle9iAS

  • How to view LKM SQL

    Newbie question:
    I'm trying to execute an Oracle MERGE LKM (using db link). I consistently get "ORA-00999 invalid view name" errors when executing the interface.
    I'd love to see the SQL ODI is generating along the way, but I am clueless about how to trace it.
    Obviously, I haven't seen the right bit of documentation.
    Help!
    -John

    John
    You are seeing an error, I assume in Operator. If you expand out the session execution tree, you get the steps, expand out the step to show the tasks of that step. when you double-click on one of the steps, you will see the SQL generated in the Description Tab, and the result in the Execution tab, along with any execution statistics (and and errors thrown)
    Craig

  • How to view the SQL statement generated during execution of the BW Query?

    Dear Experts,
    I am trying to retrieve data in a SAP BW Query from a Non-SAP system.
    I think if I am able to see the complete SQL statement that was generated when I executed the BW Query, I may be able to use it to retrieve the data.
    Do you know how and where I can see the SQL statement of a BW Query's SQL statement?
    I tried RSRT options to execute the Query but still could not find the SQL statement.
    Thanks in advance.
    Regards,
    Shunhui.

    hi
    goto rsrt
    give your query name
    select execute + debug option
    in the debug option under data manager check the check box "display SQL/BIA query
    selcet continue
    you can see the sql statement
    thanq

  • How to view Service Design History in 10.1

    With the 10.1 version of Cisco Prime Services Catalog, Administration module has a new feature to enable Service Design History. Even after enabling this feature, the application doesn't support a way to view the history.
    Having a web interface or SQL script to view the history of each services will be helpful.

    Hi,
    By "personal folders", do you mean .pst files, or just other folders of the email account?
    Please note, if you setup the rules to move emails to a .pst file which was created separately, we won't be able to view the emails when using other devices, since that .pst file is just a local Outlook Data File, which doesn't sync with the email server
    at all. (Also, if the rules move the emails to other accounts, you won't be able to see the emails on other devices until you have that other account configured.)
    If the rules move the emails to other folders of the email account, It should sync with other devices when you are using an IMAP, Exchange ActiveSync or Exchange account, including emails and folders, subfolders.
    Let me know if I got anything wrong.
    Regards,
    Melon Chen
    TechNet Community Support

  • How to view AirPort HotSpot history

    Hi guys,
    If i turn my imac into a wi-fi hotspot using airport how can i see which websites are accessed through the hotspot from other devices ?
    Thanks a lot for your help in advance it would be much appreciated

    To view your account's full purchase history follow the instructions on the page that you linked to.

Maybe you are looking for

  • IPhone frozen/no brightness/white screen

    So yesterday it start with my iphone telling me that I needed to connect to iTunes and restore because I couldn't make or receive calls. I reset it, and seemed OK. I later tried to play doodle jump, which crashed upon opening, so I reinstalled it to

  • Can someone help me with synching iPhone 4S email to iPad email?

    I updated my iPhone 4S for ios7.  Was unhappy with the new calendar function and reluctant to upgrade to ios7 on my iPad due to the existing (and great) calendar format.  Is there a way to sync email on my iPhone without updating to ios7 on my iPad? 

  • Warehouse management Cycle counting

    Hi All , I am trying to create an inventory record for cycle counting  in transaction LICC. But it is not allowing me to do so and giving error as "Maintain number range interval "01" for inventory" . Can anybody tel me the SPRO path OR tcode where i

  • Is there a 10.9 Server app available as 10.8 now longer works with Mavericks

    Since updating from Mountain Lion to mavericks the 10.8 Server.app software does not run, is there an update to 10.9

  • Nikon D70 wrong image size

    I haven't figured out why Aperture is telling me the size of the images coming from my D70 are 3024 X 1998 px instead of 3008 X 2000 px. Does it stretch the images ? Until it does it right I don't trust it and don't dare to translate all my photos in