What tables are updated?

I have some software that came bundled with Oracle as the database. When I perform an action in the GUI of the software I need to know what tables in Oracle are getting updated. How can I query Oracle to find that information.? We are using Oracle 9i.
Thanks.

You can turn on trace for the session, or for the database (usually a bad idea since it procuces huge amounts of files), or you can use OEM to login and view the top activity and get the statements that are running.
You can also select directly from the v$ views (v$sqlarea etc).

Similar Messages

  • What Tables are updated for BAPI      BAPI_COSTACTPLN_POSTPRIMCOST .

    What are the database tables that are updated when this BAPI returns no error .
    I am trying to use this BAPI to load the data entered in transaction KP26.
    The BAPI gives me no errors and does not update the table COST ( which is updated when the trasaction is saved manually )
    Urgent....

    Thanks for your reply.
    No, I am not looking directly for dependencies which can be very well if any table is read in a PL/SQL code.
    I am strictly (subset of dependecies) looking for PL/SQL that updates tables.
    I was going to search for update string in user_source, but was hoping someone must have figured out a nicer way.
    Thx

  • Please tell me SQL to see, what tables are locked by which user

    could you please tell me the query
    so that I can see, what tables are locked by which user in a databse
    Thanks

    The only way you can ensure that only one transaction touches the data at any one time is to use a select .. for update nowait statement to select the rows to be updated.
    Try this::
    Where I select the data i want to update in a cursor Incase the row is locked due to any reason it will throw me an error as shown below;
    SQL>DECLARE
      2   cursor c
      3   is
      4   select * from emp
      5   where empno = 10
      6   for update nowait;
      7  BEGIN
      8 
      9   for rec in c
    10    Loop
    11     update emp set ename ='J' where empno = 10;
    12    End Loop;
    13   
    14  DBMS_OUTPUT.PUT_LINE('Record Updated');
    15 
    16  EXCEPTION
    17 
    18  WHEN OTHERS THEN
    19 
    20  DBMS_OUTPUT.PUT_LINE(sqlcode || sqlerrm);
    21 
    22  END ;
    23  /
    -54ORA-00054: resource busy and acquire with NOWAIT specified
    PL/SQL procedure successfully completed.Edited by: J99 on Jul 28, 2009 4:57 PM

  • Query to determined what tables are associated with parent table

    Hello -
    how would I query the data dictionary to determine what tables are referenced by a parent table via Pk/FK relationship?
    Thanks in advance!
    Mike

    Hi,
    Try this:
    UNDEFINE table
    UNDEFINE owner
    ACCEPT owner CHAR PROMPT 'Enter Owner: '
    ACCEPT table CHAR PROMPT 'Enter Table: '
    COLUMN y new_value sid NOPRINT
    SELECT name||'_'||TO_CHAR(sysdate, 'ddmonyy_hh24miss') y FROM v$database;
    SPOOL constraints_&owner..&table..&sid..txt
    SELECT a.constraint_name constraint, DECODE(a.constraint_type,
                                                                  'C', 'Check',
                                                                  'P', 'Primary Key',
                                                                  'U', 'Unique Key',
                                                                  'R', 'Referential Integrity',
                                                                  'V', 'With Check Option',
                                                                  'O', 'With Read Only') constraint_type,
           a.index_name, a.owner||'.'||a.table_name table, a.status,
           DECODE(a.r_owner||'.'||a.r_constraint_name,'.',null,a.r_owner||'.'||a.r_constraint_name) rconstraint,
           f.constraint_name fconstraint, DECODE(f.owner||'.'||f.table_name,'.',null,f.owner||'.'||f.table_name) ftable,
           f.status fstatus
    FROM dba_constraints a, dba_constraints f
    WHERE a.owner = f.r_owner(+) AND
          a.constraint_name = f.r_constraint_name(+) AND
          a.owner LIKE UPPER('&owner') AND
          a.table_name LIKE UPPER('&tabla')
    ORDER BY 3,1;
    SELECT constraint_name constraint, owner||'.'||table_name||'.'||column_name column, position
    FROM dba_cons_columns
    WHERE owner LIKE UPPER('&owner') AND
          table_name LIKE UPPER('&tabla')
    ORDER BY 1,2;
    SPOOL OFF
    UNDEFINE table
    UNDEFINE owner
    PROMPT
    PROMPT ******************************************** DEPENDENCIES ************************************************************
    PROMPT
    UNDEFINE object
    UNDEFINE owner
    UNDEFINE type
    ACCEPT owner CHAR PROMPT 'Enter Owner: '
    ACCEPT object CHAR PROMPT 'Enter Object: '
    ACCEPT type CHAR PROMPT 'Enter Type: '
    COLUMN REFERENCED_LINK_NAME FORMAT a10
    PROMPT ******************************************** OBJECTS WITH DIRECT REFERENCE
    SELECT owner||'.'||name object, type , referenced_owner||'.'||referenced_name robject, referenced_type rtype,                    dependency_type, referenced_link_name
    FROM dba_dependencies
    WHERE owner LIKE UPPER('&owner') AND
          name LIKE UPPER('&object');
    execute deptree_fill('&type','&owner','&object');
    PROMPT ********************************************  DEPENDENCIES TREE
    SELECT nested_level, schema||'.'||name object, type, seq#
    FROM deptree
    ORDER BY seq#;
    UNDEFINE object
    UNDEFINE owner
    UNDEFINE typeCheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • Find out what tables are lock

    how do i find out what tables are lock and who is locking it? i am using 9i. also, i do i kill he session that is locking a table. thanks

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:839412906735
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:368418111101

  • Which table are updated with RKKRVBC0 program

    Hi,
    Can you let us know which are the table(s) are updated while we execute program RKKRVBC0.
    Also appreciate you can guide to understand  what does the below screen shot explains.
    What data is inserted & Updated (Total & Key tables).
    Appreciate your help.
    Regards,
    Dave.

    Hi,
    In order to see the tables behind this or that SAP action, you can do the following. Open in a separate session transaction ST05 and activate the trace. Then, run the program in question. When finished, go to ST05 session, deactivate the trace and display it. You will see all the queries processed by SAP.
    Regards,
    Eli

  • How to see what Tables are being used in all reports

    Post Author: tmashley
    CA Forum: Crystal Reports
    Hello,
    How can I see what database tables are used in all my online reports? I have around 1000 reports posted to Enterprise over 6 different datasources. If possible I would like to see the fields within those tables that are being used to.
    I am using Crystal Reports XI Release 2
    Any help is appreciated
    Thanks,
    Tom

    I don't think you can see the databases of the reports unless you download the report onto your pc as a Crystal Report format and then open it under Crystal Reports.
    This way it will open the report within Crystal Reports and will show you the datasource it is coming from.
    I doubt if you can see them online.
    Kind Regards
    Jehanzeb

  • How can I extract data from ST03 - what tables are used?

    Hi
    I currently have to create performance statistics daily for management. To do this I use transaction ST03 and manually copy the previous days Dialog average response time, DB, CPU and GU av. times into a spreadsheet, and also the average dialog response time for 4 key transactions from the transaction profile.
    It would be nice to automate this. I was thinking of writing a basic ABAP program to query the relevant tables to extract this data - does anyone know which tables are used? I'd tried running a trace but it was not clear which tables/rows etc would be required.
    Thanks
    Ross

    Ok, that FM is an old one - for NW2004s (700) need to use 'SWNC_COLLECTOR_GET_AGGREGATES'.
    Have a basic program below. What I'm trying to do is get the average response time for transactions. I can get 'respti' from the table but I think this is the total response time - what field represents average response time?
    Also, the numbers that it's pulling back don't seem to match the numbers in ST03 at all... except 'dcount'. This seems to correct ly show the number of steps... but the other values don't match anything. What am I doing wrong?
    Program below...
    Cheers
    Ross
    REPORT  Z_GETSTATS.
    PARAMETER: day TYPE dats DEFAULT sy-datum.
    DATA: t_usertcode  TYPE swnc_t_aggusertcode,
          wa_usertcode TYPE swncaggusertcode.
    START-OF-SELECTION.
    CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
        EXPORTING
          component     = 'TOTAL'
          periodtype    = 'D'
          periodstrt    = day
        TABLES
          usertcode     = t_usertcode
        EXCEPTIONS
          no_data_found = 1
          OTHERS        = 2.
      LOOP AT t_usertcode INTO wa_usertcode.
             WRITE:/ wa_usertcode-entry_id.
             WRITE:/ wa_usertcode-respti, wa_usertcode-procti, wa_usertcode-cputi, wa_usertcode-dcount, wa_usertcode-ucount.
             WRITE:/ '*************************************'.
      ENDLOOP.

  • What tables are usede for posting gl entries?

    I need to create an interface that takes SAP GL postings, summarrizes them and then sends them to a legacy system.
    Any idea on how to do this?
    What tables should I be using?
    Any help most appreciated and rewarded with points.
    Thanks!
    Scott

    Rob,
    I have 3 summaries:
    expenses                     company code, gl balance, cost center, acct number
    sales & gross margin    company code, gl balance, control area
    balance sheet               company code, control area, acct number
    Any idea what other tables besides BKPF and BSEG that could be used?
    Thanks.
    Scott

  • Not all tables are updated in a .xlf document

    One table from 6 is updated only in a .xlf document via Life Office connection. Why?

    Hi,
    if im nt wrong ..
    u have 6 quiries which take date range as input ie from today to last month first date.
    Now:
    is the date format in excel cell same as the date format of ur query !
    coz query will be triggered only if u give date in its specific format.
    are you taking i/p from dash board!
    range also  should be same as ur query range( to - from or from - to )
    if you have different date formats for 6 quiries
    take the dates seperately for all those which are not same
    suppose query1,query2,query3 takes i/p as DD.MM.YYYY and
    query4,query5,query6 takes i/p as DD.MM.YYYY hh.mm then take 2 date ranges seperately
    if ur using live office connection to refresh the dashboards concatenate the cells and give the concatenated cell to refresh your data.
    Range 1 DD.MM.YYYY to DD.MM.YYYY --->concatenate both the dates and give the concatenated cell to refresh the corressponding query liveoffice connection.
    similarly DD.MM.YYYY.hh.mm to DD.MM.YYYY.hh.mm --->concatenate both the dates and give the concatenated cell to refresh the corressponding query liveoffice connection
    @Sri

  • What tables are important in FICO module to extract to BW server

    I recenlty staretd on a new BW project, now in the initial stages.
    Can you please provide a list of tables that are mostly used extracting the data . this client has FICO and HR modules.
    That will really help, all table name are with number with three zeroes, thats what someone told me.
    this is my first project.
    Thank you very much for the helpful info.

    Hi,
    Check out the below thread.You need information regarding tables or datasources as there are some standard datasources available for FI.
    You can search the forum lot of information is already available as your question and requirement is pretty generic.
    Know the tables for FI and COPA datasources
    Hope it helps.
    Regards,
    AL

  • What tables are using in backend to store sxmb_moni messgaes

    Hi experts,
    I want to know what are the tables used in back end to display messages in sxmb_moni.
    I am preparing a report to send alerts to few people based on the status of the messages in the pipeline or which are failed and showing as failed messages in   SXMB_MONI
    Thanks in advance

    That is a message may get processed or failed or waiting for the queue.
    you have to check status of the meesage in SXMB_MONI  and if there message is any struck in Queue , showing . otherwise you need to check SMQ1 for Outbound and SMQ2 for inbound Queues
    We can see error messgaes .Is there any way to see other messgaes whether they were processed or stuck up in the queue.
    you have to check SMQ1 for Outbound and SMQ2 for inbound Queues

  • Finding where tables are updated

    Is there any way I can find out what procedures update any particular table (utilities/procedure). I need to find out how many procedures I need to change if I modify a table structure.
    I am working with oracle 10g
    Thanks.

    If what you really want to know is how many stored procedures (or function or packages, triggers, and views) reference a specific table then look in the Oracle version# Reference manual at the entry for DBA_DEPENDENCIES.
    This view will show you all objects dependent on the table.
    For anonymous pl/sql and for pro*c (or other language) programs you will need to scan your source directories/repository.
    HTH Mark D Powell

  • What TIME are updates scheduled when referenced as "overnight" or "try later tonight"?

    Need Specific Timeframe when Auto Updates are installed.
    What is the actual TIME of "overnight" and "try later tonight"?
    We are on satellite and limited to 15gb/month for the entire family.
    We are blowing through our GB due to updates.
    Using "try later tonight", used 1/3 of our monthly allowance is ONE night.

    ummmm.........updates you desperately need??? i'm so lost
    I have this phone and it was perfect
    1. JB, who cares?
    2. I have connected to 3 or so different wifi without issue, did you try changing the channel on your router?
    3. dunno, i do use it plugged into aux but then if i need to text i just type it at stop lights
    4. I thought it was a global phone?
    5. trololol i'll stay away from this one..
    a. another troll topic i won't get into, but check out the android market theres apps out there (foxfi etc)
    b. yah and mcdonalds shouldn't charge me $7 for $2 worth of meat
    c. maybe in 10 years this will be how it all works
    d. verizon added 1.2million customers last quarter, not everyone is poor and unwilling to pay for value
    e. You're more than welcome to purchase a phone from the manufacture
    Verizon is a service provider, if you don't like the service or are unable to pay for the service find another carrier that matches your needs better.
    Reading your thread you seem better suited for prepaid, you are very worked up over a cellphone ..

  • What table are Exception Messages in MRP stored?

    The requirement is to develop an error report from an MRP run to capture the exception messages along with the selection groups.
    Ex:Selection Gr 2; Exception Message 15: Reschedules In.
    I am unable to track where exactly the exception messages are stored after an MRP run. Any suggestions as to how to go about this requirement.
    Thank You.

    You can basically get a list of all tables MD06 (colelctive MRP list) uses to fetch data. GO to tran se30. Under Measurement restrictions click new and in Duration/Type tab select none. Go back to se30 main screen enter tran MD06 and execute. It will take you to MD06, run it with any material and go back to se30 screen. At the botton select evaluate and on the evaluation screen select "Data base hit list" or F6. That will give a list of all tables accessed by MD06. SO basically you will know all the tables that were filled during last MRP run.
    Atul

Maybe you are looking for

  • How to display pagewise total in Oracle reports?

    Hi, I want to display pagewise total in all pages as well as report total at the last page of the report. I have tried Reset at : Page, Print on : All pages But nothing is working. Please suggest what else I need to set to achieve the requirement Tha

  • IPod Classic 120Gb restarts after syncing?

    Hi, When I sync and then eject my iPod classic 120Gb, immediately after rejecting (after the progress bar has gone all the way to the right) the iPod reboots... This seems harmless, I'm having no other problems, I'm sure this isn't supposed to happen

  • Jtable: display sortable columns

    Hi all, As I undersatnd, by default jtable shows the sorting triangle only after you click on the column header. I wonder how you could display a disabled sorting triangle icon on sortable columns which becomes enabled after you click on the column h

  • I just upgraded to firefox aol version and lost my extra bookmarks that were on the bottom of the original bookmarks, so how do i get them back "

    I recently updated to Firefox AOL version and i am very disappointed that I lost my bookmarks that are on the bottom of the original bookmarks. I had two lines of bookmarks and now I only have one. how can I get the other line of bookmarks back?

  • IPv6 Link-local addresses: EUI-64 or Static?

    Hello Everyone. What is the best practice? Configuring a static link-local address on the interface, or letting the router pick an eui-64 one? From a dynamic routing process point of view, does it really matter which type of link local address is use