How to find affected tables in the database

Hi Friends,
Is there any way to find the tables affected in the database when book a trade in the Application in Oracle. Please help me to find the affected tables.
Thanks,
ragu.
Edited by: user533548 on Apr 3, 2009 5:08 AM
Edited by: user533548 on Apr 3, 2009 5:13 AM

Hi Karthick_Arp,
You take any application for example when you book details about a new employee the rows will be affected in the database we generally use the empid to identify
what are the tables affected is there any way like this when you book a trade in the Application to find what are all the tables affected in the database.I think that
you have understand my question.
Thanks,
ragu.
Edited by: user533548 on Apr 3, 2009 5:09 AM
Edited by: user533548 on Apr 3, 2009 5:13 AM

Similar Messages

  • How to find out  Locks on the database objects

    how to find out Locks on the database objects

    The following notes should be helpful:
    Note: 200590.1 - bde_session_locks.sql - Locks for given Session ID
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200590.1
    Note: 1039273.6 - SCRIPT: VIEWING LOCKS ON OBJECTS HELD BY SPECIFIC USER
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1039273.6
    You can also search Metalink, there are many notes/scripts published there which would be also helpful.

  • How to know which table in the database a form is accessing

    Actually Im new to oracle applications,
    Im getting an error when i open a form from system administrator responsibility saying that table doesnot exist.
    My basic doubt is, how to know which table in the database a form is accessing.
    Any response is higly appreciated.
    Thanks,
    Praveen
    Edited by: user10239520 on Sep 10, 2008 7:07 AM

    Take a look at the following thread:
    Is there a query log in EBS?
    Re: Is there a query log in EBS?

  • How to find Related Tables for the Tcode given.

    How to find Related Tables for the Tcode given. (master data)
    Thanks in advance.

    Hi Sridhar,
    Welcome to SDN.
    The tables for a given transaction can be seen in the transaction SE80.
    First goto SE93.
    Give ur Tcode and find the program name.
    Now goto SE80. select program in the first dropdown and give the program name in the second box. U can find the list of tables used.
    One more way is : use ST05.
    and One more is using FM 'get_tables'
    Thanks,
    Shailaja
    Edited by: Shailaja on Jul 11, 2008 12:33 PM

  • How to find communication channels in the database

    Hello,
    how can I find communication channels in the database? Exists here a webservice or a template to read them out automatically? Has anyone here an idea or experience with it?
    Thanks in advance,
    kind regards,
    Peter Mueller

    Hi stephan,
       In XI all the intrgration logic will be stored as Design time objects(Integration Objects) and Runtime objects (Integratin Directory).So there wont be any specific tables that store all of them .But XI holds them in CACHEs called CPA caches and there are different caches too.
    Tables in XI
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/xi+tables
    For caches:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    Important Tcodes
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/xiTransactionCodes
    Thanks,
    Ram.

  • How get highly active TABLES in the database ?

    Oracle 11g R2 standard edition database.
    1) Is there a way to find which table in the entire database (or) schema is HIGHLY ACTIVE ?
    Highly Active in the sense which has gone through lots of SELECT,UPDATE,DELETE,INSERT
    2) Is there a way to find as how many DML's happened on table SCOTT.EMP from time A to time B ?
    INSERT,DELETE,UPDATE
    If YES please give all the steps
    Thanks in advance.

    johnpau2013 wrote:
    Oracle 11g R2 standard edition database.
    1) Is there a way to find which table in the entire database (or) schema is HIGHLY ACTIVE ?
    Highly Active in the sense which has gone through lots of SELECT,UPDATE,DELETE,INSERT I would suggest looking at the view v$segment_Statistics .
    2) Is there a way to find as how many DML's happened on table SCOTT.EMP from time A to time B ?
    INSERT,DELETE,UPDATE
    If YES please give all the stepsLook for auditing and how it is set for the tables in the documentation for your version . The doc site is http://tahiti.oracle.com .
    Aman....

  • OMBPLUS - How to import a table from the database

    I have a table that is out of sync with its database definition. In OWB, I would go to the Tables section and select Import and re-import the file in. How do I script this in OMBPLUS.

    If I do the OMBRETRIVE TABLE 'CUSTOMER' GET COLUMNS then all I get is a list of columns displayed in OMBPLUS. Doing a OMBCOMMIT does not modify the table in the OWB repository. It still does not have the new columns.
    Also, when I import a table from the GUI, I UNCHECK the two advanced options of: 'Preserve repository added constraints' and 'Preserve repository added columns'. I also get to select from the GUI I get to choose how many levels of foreign key constraints to retreive. How do I specify these in the OMBPLUS script as well.

  • How to find Oracle script in the database

    Hi,
    I've an Oracle instance with Fine Grained Auditing (FGA).
    In this DB was created a series of policies and now I want to find the scripts created for insert it in another database.
    for example:
    dbms_fga.add_policy (
    .....................How can I find this SQL script from this database?
    I have also export dmp file
    Must I use TOAD for export the objects?
    Thanks in advance!

    you'll need to use datapump export/import for this, see the example below:
    Create fga policy TEST_POLICY on table scott.emp
    SQL> exec dbms_fga.add_policy(object_schema => 'SCOTT',object_name => 'EMP',policy_name => 'TEST_POLICY');
    Show fga policy in the db
    SQL> select * from DBA_AUDIT_POLICIES where policy_name = 'TEST_POLICY';
    OBJECT_SCHEMA                  OBJECT_NAME                    POLICY_OWNER
    POLICY_NAME                    POLICY_TEXT          POLICY_COLUMN                  PF_SCHEMA
    PF_PACKAGE                     PF_FUNCTION                    ENA SEL INS UPD DEL AUDIT_TRAIL  POLICY_COLU
    SCOTT                          EMP                            OPS$ORACLE
    TEST_POLICY
                                                                  YES YES NO  NO  NO  DB+EXTENDED  ANY_COLUMNS
    Now export the metadata for the objects
    [oracle@mr-blonde 11.2.0]$ expdp / dumpfile=testpolicy.dmp directory=DATA_PUMP_DIR content=METADATA_ONLY SCHEMAS='OPS$ORACLE,SCOTT'
    Export: Release 11.2.0.1.0 - Production on Mon Mar 29 11:22:25 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    FLASHBACK automatically enabled to preserve database integrity.
    Starting "OPS$ORACLE"."SYS_EXPORT_SCHEMA_01":  /******** dumpfile=testpolicy.dmp directory=DATA_PUMP_DIR content=METADATA_ONLY SCHEMAS=OPS$ORACLE,SCOTT
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/TABLE/FGA_POLICY
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Master table "OPS$ORACLE"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for OPS$ORACLE.SYS_EXPORT_SCHEMA_01 is:
      /app/oracle/admin/CS11G/dpdump/testpolicy.dmp
    Job "OPS$ORACLE"."SYS_EXPORT_SCHEMA_01" successfully completed at 11:23:46
    Now to drop the policy
    SQL> exec dbms_fga.drop_policy (object_schema => 'SCOTT',object_name => 'EMP',policy_name => 'TEST_POLICY');
    PL/SQL procedure successfully completed.
    Now checking that the policy is really gone
    SQL> select * from DBA_AUDIT_POLICIES where policy_name = 'TEST_POLICY';
    no rows selected
    Now to import the policy back into the db from the data pump export taken earlier
    [oracle@mr-blonde 11.2.0]$ impdp / dumpfile=testpolicy.dmp directory=DATA_PUMP_DIR include=FGA_POLICY
    Import: Release 11.2.0.1.0 - Production on Mon Mar 29 11:27:16 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    Master table "OPS$ORACLE"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "OPS$ORACLE"."SYS_IMPORT_FULL_01":  /******** dumpfile=testpolicy.dmp directory=DATA_PUMP_DIR include=FGA_POLICY
    Processing object type SCHEMA_EXPORT/TABLE/FGA_POLICY
    Job "OPS$ORACLE"."SYS_IMPORT_FULL_01" successfully completed at 11:27:21
    Checking that the fga policy has been imported successfully
    OBJECT_SCHEMA                  OBJECT_NAME                    POLICY_OWNER                   POLICY_NAME                    POLICY_TEXT
    POLICY_COLUMN                  PF_SCHEMA                      PF_PACKAGE                     PF_FUNCTION                    ENA SEL INS UPD DEL
    AUDIT_TRAIL  POLICY_COLU
    SCOTT                          EMP                            OPS$ORACLE                     TEST_POLICY
                                                                                                                                YES YES NO  NO  NO
    DB+EXTENDED  ANY_COLUMNS

  • How To Find Out Table Name At Database Level Trigger

    Table Name
    How do I will come to know the name of table on which currently DML statement is fired ?
    e. g. My current user is SCOTT. So Scott should realize the event of DML Statement fired. Hence my question is how the trigger on User Level is to be written & how to catch the event & table name on which the statement is being executed.
    Suppose my table is as follows
    Table Name : EMP
    EMPNO number
    ENAME varchar2(10)
    JOB varchar2(9)
    MGR number
    HIREDATE date
    SAL number
    COMM number
    DEPTNO number
    Bcd number
    Brcd number
    Rec_id number
    Scn_no number
    Sequences for above table
    1. EMP_REC_ID - minimum value is 1 increment by 1 & max value is unlimited
    2. EMP_SCN_NO - minimum value is 1 increment by 1 & max value is unlimited
    I have written a trigger as follows :
    CREATE OR REPLACE TRIGGER UPD_EMP_REC_SCN BEFORE INSERT OR UPDATE OR DELETE ON EMP REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW
    DECLARE
    BEGIN
    IF (INSERTING) THEN
    SELECT EMP_REC_ID.NEXTVAL INTO :NEW.REC_ID FROM DUAL;
    ELSIF (UPDATING) THEN
    SELECT EMP_SCN_NO.NEXTVAL INTO :NEW.SCN_NO FROM DUAL;
    ELSIF (DELETING) THEN
    INSERT INTO DELETED_ROWS (TAB_NAME, BCD, BRCD, REC_ID)
    VALUES (‘EMP’, :OLD.BCD, :OLD.BRCD, :OLD.REC_ID);
    END IF;
    END;
    Hence My problem is
    If my database user contains 800 tables then I have to write down 800 triggers (i.e. for each table).
    I want to write only one trigger at database level so that I can dynamically take actions, for this I need table name and the event on which the dml event has taken place.
    Any help in this matter will be greatly appreceiated.
    Regards
    Vikrant

    You cannot write a single trigger that applies to multiple tables. If you need a trigger for every table, you will need to generate 800 triggers.
    Rather than manually generating 800 triggers, you might write a code generator that generates triggers for each of the tables by querying the data dictionary (i.e. DBA_TABLES, DBA_TAB_COLS, etc).
    Justin

  • How to find config table for the field "language" in infotype-0002

    Hi Gurus,
    We are implementing ECC 6.0 at our client site.
    The client wants to use language field in persoanl data infotype as mother tongue and include indian languages.
    He don't want all other languages like spanish etc instead he wants indian languages like Hindi,telugu,tamil etc.
    can any body please help me in which table we can configure this.
    Thanks in advance
    Regards
    AnanyaK

    Hi,
    You can enter the languages in the IMG
    Path is
    IMG-> Personnel Management-> Personnel Administration -> Personnel Data-> Languages
    Or  you can simply go for technical information in the field name and will get the table name for that field and can maintain in SM30
    Regards,
    Kapil Kaushal

  • How to find DB tables for the datasource

    Hi Experts,
    I have the requirement to check the DB tables which supplies data to datasource.Is there any provision has been given to check it at BW side.If not what is the provision provided at R/3 side.
    Kindly do the needful.
    Regards
    Kumar

    Hi,
    you can always check the queries wich are executed during a session by keeping your trace on. goto ST05, make the trace on for ur user name and then run the extraction. Goback to ST05 and switch the trace off. and in the log, ull see all the SQLs which are executed. In this you will get your table name as well..
    Dont forget to stop ur trace as its a overhead on the application server
    Sriram

  • How to find out table name for the field in the webUI

    Hi.
    I am in CRM2007.
    So i go to the transaction code    BSP_WD_CMPWB
    In that i provide the component name as CRM_UI_FRAME.
    I press the Test button.
    So, it opend the WebUI.
    I want how to find out table of the particular input field?
    I mean from which table the data is retrived how to find out?
    When i enter some thing in the input field how to find out in which table that data is stored?
    By pressing F2 on the input field it opend View and Component Name.
    I want find out table of that particular field. How to find it?
    If anybody know about this explain it with Screen shorts if possible.
    Thank You.
    Krishna. B.

    hi
    goto tx genil_model_browser. Suppose you want to find fields reated to your order header eg sold to name. In component set write all and press F8. Then goto access object and in access object click on node BTAdminH. Click on attribute structure. Here you will find structure and attributes. If you click relationship then you will see all the relationship wrt btadminh. open any r/s that you require. and click on other object and attribute. You will get to know the structure.
    Best regards
    Pankaj kumar

  • How can i find statistics tables in my database?

    code{
    Upgrade Statistics Tables Created by the DBMS_STATS Package
    If you created statistics tables using the DBMS_STATS.CREATE_STAT_TABLE procedure, then upgrade these tables by executing the following procedure:
    EXECUTE DBMS_STATS.UPGRADE_STAT_TABLE('SYS','dictstattab');
    In the example, 'SYS' is the owner of the statistics table and 'dictstattab' is the name of the statistics table. Execute this procedure for each statistics table.
    the above is one of the post upgrade step for 11gR2. How can i find statistics tables in my database?

    You need to read the complete context of this manual upgrade step:
    Step 33
    Upgrade Statistics Tables Created by the DBMS_STATS Package
    If you created statistics tables using the DBMS_STATS.CREATE_STAT_TABLE procedure, then upgrade these tables by executing the following procedure:
    EXECUTE DBMS_STATS.UPGRADE_STAT_TABLE('SYS','dictstattab');
    In the example, 'SYS' is the owner of the statistics table and 'dictstattab' is the name of the statistics table. Execute this procedure for each statistics table.You need to do this step for any statistics table that you created manually with DBMS_STATS.CREATE_STAT_TABLE.
    Marcus

  • Query to find the biggest table in the database..!!!

    Hello everybody,
    i have more than 600 tables in the database i need to find the biggest table in the database and want to order it in descending pattern..
    Is there any query for this task...
    Rgds
    Harsh.

    What version of Oracle? Do you use the CBO or the RBO? If you use the CBO, are your statistics accurate? Can you tolerate having approximate rowcounts?
    SELECT table_name, num_rows
      FROM user_tables
    ORDER BY num_rowsmay be what you're looking for, but
    - num_rows is populated when you gather statistics, so it'll be empty if you're using the RBO
    - num_rows may be an approximate number, depending on how you're gathering statistics
    - num_rows only reflects the size at the instant you gathered statistics. It is not maintained in real time.
    I'm guessing, though, that this is close enough for whatever you're doing.
    Justin

  • How to find latest entry in the table according to time

    how to find latest entry in the table according to the time
    is there any function module to do so
    \[removed by moderator\]
    Regards
    Shashi
    Edited by: Jan Stallkamp on Aug 25, 2008 4:39 PM

    Hi,
    If you want to read the entry from an internal table,
    sort the internal table in the descending order by the time and
    delete adjacent duplicates by comparing the fields other than time and the internal table will have the latest record.
    Suggestion: instead of only time try to have one more field called date with the time combination
    Regards,
    Ramesh

Maybe you are looking for

  • How to include "password protection" in a report, downloaded in .pdf format

    Hi, The client need the reports to be password protected after downloading it to pdf format. i.e., If a report from the dashboard is being downloaded in pdf format, then while opening it should ask to enter the password. So this will be a secure docu

  • Rating Column not working

    I have enabled rating setting for one discussion board in one of my site collection. Now when i hover over the rating stars rating stars don't turn yellow. I have checked central admin and made sure User Profile service and the two timer jobs associa

  • Undo Drag and Drop

    How to implement undo operation on JTree nodes drag and drop in swings ?

  • Disable the STOP/PLAY tap on a video

    How i can disabling the STOP/PLAY tap on a video (so it can start as the cover of the Folio) and without having the user to unexpectedly stop it. Even if the video is full screen.

  • Multiple UUT Testing Over Temp - Which Thread or Process Should Control the Chamber?

    I am using TestStand 3.5 to write an automated system that can test up to 4 UUTs inside a temperature chamber.  If any of the UUT's fail, the user will have the option to abort the UUT test and either leave the test socket empty or add a new UUT in i