How to check table dependencies ?

Hi All,
I am looking for a query , which tell about table's dependencies ?
I wonder, if there is any table_dependencies dictionary view , but I doubt for that.
hare krishna
Alok

Small example:
[email protected]> select name, type, referenced_name, referenced_type from user_dependencies
2 where referenced_type = 'TABLE'
3 /
NAME TYPE REFERENCED_NAME REFERENCED_TYP
E
MOBVIEW3 VIEW DUAL TABLE
MOCK_PRO PROCEDURE DUAL TABLE
PUSER PROCEDURE DUAL TABLE
SMP_VDD PACKAGE BODY DUAL TABLE
SMP_VDM_NOTIFICATION_PKG PACKAGE BODY DUAL TABLE
SMP_VDN PACKAGE BODY DUAL TABLE
SMP_VDE PACKAGE BODY DUAL TABLE
SMP_VDJ PACKAGE BODY DUAL TABLE
SMP_VDS PACKAGE BODY DUAL TABLE
FILLMAIN PROCEDURE MAIN TABLE
P_PROC1 PROCEDURE JOBS1_HIST TABLE
SHUTDOWN_TRIGGER TRIGGER SHUT_TABLE TABLE
P_PROC1 PROCEDURE JOBS1 TABLE
START_TRIGGER TRIGGER START_TABLE TABLE
P PROCEDURE EMP TABLE
P_PROC2 PROCEDURE EMP TABLE
Best Regards
Krytian Zieja / mob

Similar Messages

  • How to check table is creating or not

    Hi,
    I am creating only one table by running a table creation script(table.sql) which contain 366 partition.but I dont know whether table is creating or not.it is taking long time,sometimes I feel like script is hanging.even before running the script I have even spooled but spool file shows nothing. so how to check table is creating or not from background? can anyone please let me know abt this.this is bit urgent
    sql>spool table.log
    sql>@table_partition.sql

    hi,
    I am running the script table_partition which consist of 366 partition and 31 sub partition but the script is hanging.there is no hint in alert log file or anything wat might be the reason is it because of extent size? as extent size for this tablespace where table has to be create is 1mb,wat i suspect is do i need to set for higher value inorder to avoid this?
    with regards;
    Boo

  • How to check table is NULL or not when a form load?

    How to check table is NULL or not when a form load?
    I want to make the form when it load it check the data in table, if there are no data in table other form will be load.
    Sorry for bad English... 

    Maybe you can do this in form1's Form_Open event:
    if dcount("*", "table1") = 0 then
      Cancel = True
      Docmd.Openform "form2"
    end if
    -Tom. Microsoft Access MVP

  • How  to check  table have  exists any views in oracle

    hi,
    how to check table have exists any views in oracle

    SELECT * FROM user_dependencies
    WHERE type='VIEW'
    AND referenced_type='TABLE'
    AND referenced_name ='Your_Table_Name' You may use dba_dependencies to find views in different schema.

  • How to use table dependencies?

    hi all
    I have got a question.
    I have made 2 additional fields for the transaction CBIH82 ( for creating an incident ).
    Those 2 fields are equipment and equipment description.
    The idea for these 2 fields is that the description fields show the description of the chosen equipment.
    So, when a user chooses an equipment, the first field is filled with an equipment number and via this number the
    description which belongs to it should be retrieved from the master data.
    But so far i had not seen a method to accomplish this. There is a solution which is ' object dependencies'
    When you use this, you can set a value in another field with help of the value of fields which has this object dependency
    But not do any thing wth tables or so.
    I have searched for user exits, but also did not find any thing. And i have not got another good idea.
    So, do you have a good idea? How to do this?
    Kind regards,
    Anton Pierhagen

    Hello Anton,
    If you refer to the "Check Table" option under "Values" please consider this (From the F1 Help):
    "Check table
    Name of a table that contains the allowed values for the characteristic.
    This table can have exactly one key field. Tables that do not conform to this specification are not accepted. This can can also contain a client.
    If you want to check values using a table that does not conform to this specification, you can use a function module to define the check table."
    If you want to use a function module (like it is done for the phrases in EH&S TR CG02) please read the F1 Help for the field "Function".
    An example check function is C14K_PHRASECHARACT_CHECK.
    In general to have two chracteristics - one containing the key, the other the description for the key is a bit tricky and I think you would need work with global variable in the functions assigned to the both characteristics.
    Wouldn't it be OK to just display the description and a have a good search help?
    Greets
    Mark

  • How to check table difference QUICKLY?( symetic check, hash check, or ...)

    Hi. Everyone.
    I would like to know whether or not there is a difference
    between tables. The two tables are located
    at the differerent location, and network speed is very bad.
    I am considering this two ways as belows.
    1. symeteric check
    (select * from table_A@location1
    minus
    select * from table_A@location2)
    union all
    (select * from table_A@location2
    minus
    select * from table_A@location1)
    2. hash value check using dbms_utility.get_hash_value
    select sum(dbms_utility.get_hash_value(
    "column lists",1,power(2,16)-1)) xx
    from table_A@location1
    select sum(dbms_utility.get_hash_value(
    "column lists",1,power(2,16)-1)) xx
    from table_A@location2
    Which one do you think is faster?
    Additionally, is there better way to check table difference
    as quickly as possible.
    Thanks in advance.
    Have a nice day.
    Ho.
    Message was edited by:
    user507290
    Message was edited by:
    user507290

    Hello
    Another alternative may be to materialise the two remote tables localy and then do the comparison - perhaps using materialised views. If you can get the data locally, you can reliably try a few different methods and figure out which works best.
    I know MINUS can be exceptionaly quick for comparing whole result sets, but it's not suited to all cases...in the same way that using sub queries/not exists is better in some cases than others.
    HTH
    David

  • How to check tables integrity

    Hello all,
    we have a big problem in CO area. Since last week we can't calculate production order costs and product costs.
    We have check all the things we can, including notes, and the only thing we think that could solve the problem is to check the integrity of tables.
    Is there any program, transaction, or anything to make it?.
    thanks a lot.

    Hi,
    Please try this once more.
    Go to SE11.
    Enter the data dictionary table in the 'Database Table' field.
    Click 'Display' and press 'Enter'.
    The page 'Dictionary: Display Table' will open.
    Please click on the 'Entry Help/Check' tab.
    Observe the fields 'Foreign Key' and 'Check Table'.
    Reward if this is of help.

  • How to check tables in the DB??

    Hi all,
    My <b>WAS is installed with Oracle</b> db. I created my own tables using data dictionary and deployed the same on WAS (with J2EE Stack only). I even inserted data and retrieved the same programatically.
    The only issue is that I wanted to know how can i manually check up the Oracle DB? Also any default user id and password.. Kindly help.
    Thanks
    Sanjo

    Hi Sanjo
    login in as ora<SID>. Issue command sqlplus /nolog. Then issue connect / as sysdba.
    This should take you to SQL prompt where you can trigger your queries.
    Hope it helps
    Regards
    Lokesh Gupta

  • How to check tables

    Hi,
    Was wondering how one could check that when a query is ran it selects the matching column. I have 4 tables: tb1,tb2,tb3,tb4. tb2,tb3 and tb4 have historical information and sometimes many-to-one.
    My question is, how can I check using the following:
    select count(tb1.column1)count(tb2.column1),count(tb3.column1),count(tb4.column1)
    from tb1,tb2,tb3,tb3
    where tb1.column1 = tb2column1 AND
    tb1.column1 = tb2.column1 AND
    tb1.column1 = tb3.column1 AND
    tb1.column1.tb4.column1
    group by tb1.column1,tb2.column1,tb3.column1,tb4.column1
    I'd like to know how when my query runs, it selects the right number by matching exactly one-to-one against those other tables.
    Thanks.
    Message was edited by:
    J_123

    This is with a better format.
    SELECT A.TOT, B.TOT, C.TOT, D.TOT
    FROM (SELECT TBL1.COLUMN1 COL,
                 COUNT(TBL1.COLUMN1) TOT
          FROM TBL1
          GROUP BY TBL1.COLUMN1) A,
         (SELECT TBL2.COLUMN1 COL,
                 COUNT(TBL2.COLUMN1) TOT
          FROM TBL2
          GROUP BY TBL2.COLUMN1) B,
         (SELECT TBL3.COLUMN1 COL,
                 COUNT(TBL3.COLUMN1) TOT
          FROM TBL3
          GROUP BY TBL3.COLUMN1) C,
         (SELECT TBL4.COLUMN1 COL,
                 COUNT(TBL4.COLUMN1) TOT
          FROM TBL4
          GROUP BY TBL4.COLUMN1) D
    WHERE A.COL = B.COL
    AND   A.COL = C.COL
    AND   A.COL = D.COLCheers
    Sarma.

  • Report Painter : How to check table for form

    Hello I am creating a report at FSI2 using form 0SAPROLLP-01
    I would like to modify or add a field present here.
    How can I determine which table the form belongs too?
    regards
    ken

    Go to report parameters and go the Form.  Hit F1 and click on technical information.
    Hope it helps.

  • How to check Tables that are used in request submitted

    Hi All
    I need to check the tables from where Apps is extracting data when I am submitting my requests in different modules.
    Response is appreciated.
    Alok

    It is easy one. Just switch sql trace for a particular CR in the CR definition form.
    Run CR then. And find all SQL that have been run in TRC file located on the DB server.
    Yury

  • How to check Table DDNTK ....NEED HELP ?

    The deduction wage  types from the internal table are reduced
    by the amounts in table DDNTK (unpaid deductions)
    how do i chec k this table ?

    NOT HELPFUL.....Since i need to Fix the Issue in Table DDNTK  before i run the  real payroll..
    Edited by: Raul k on Jan 27, 2009 10:56 PM

  • How to check  if all values from a dataset  has come to  an internal table

    How to check  if all values from a dataset  has come to  an internal table ?

    Hi,
    After OPEN DATASET statement check if sy-subrc = 0 if its success then proceed with split statement and save the dataset values into a internal table and while debugging the internal table you will find that whether all values get into internal table.
    Checking sy-subrc after OPEN DATASET statement is must to fill up the values in the internal table.
    For e.g.
    OPEN DATASET p_inpfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        WRITE :/ 'No such input file' .
        EXIT.
      ELSE.
    READ DATASET p_inpfile INTO loc_string.
          IF sy-subrc NE 0.
            EXIT.
          ELSE.
            CLEAR loc2.
    *Spliting fields in the file-
            REPLACE ALL OCCURRENCES OF '#' IN wa_string WITH ' '.
           SPLIT wa_string AT const INTO loc2-pernr
                                           loc2-werks
                                           loc2-persk 
                                           loc2-vdsk1.
    Hope you get some idea.
    Thanks,
    Sakthi C

  • How will check the space taken by a single table in a tablespace ?

    How will check the space taken by a single table in a tablespace ?
    dba_segments is giving the same values even if I truncate the table?
    Pls reply

    I need to know how can we find out the size of the table in the tablespace.use user_segments (bytes) column.
    How much bytes it has taken ?value from user_segments, bytes column
    If u delete records will the space be used for another table in same tablespace?No, it keep the space in the same table for future usage.
    How can we free that space ?truncate or drop the table and reduce the size from tablespace, if you want to reclaim the space from the tablespace, OS level.
    Jaffar

  • How to check a XMLTYPE table for corrupted (not invalid!) XML records ??

    Hello,
    I'd like to get help on the following issue, please. I need to check the XML data in a number of tables with XMLTYPE data type. Some of the data is corrupted but in terms not that the XML format is wrong but there is no XML at all in the fields but just only, for example, control characters (no tags, no anything, just corrupted data).
    So, I have made a PL/SQL procedure cursor to get all the tables from a list, and then another cursor inside to browse each table for corrupted records. But can you help me how to check this? Any of the XML functions like for example: XMLIsValid, isFragment(), getrootelement(), etc. return to me an Oracle error "ORA-31011 XML parsing failed" and the procedure gets stuck on the first found bad record. But I need to continue and check all of them. Is it possible to get the ORA-31011 error with EXCEPTION, write to a logging table the corrupted record ID, and then continue?
    Here is my simple procedure:
    CREATE OR REPLACE PROCEDURE CHECKXML (v_schema in VARCHAR2)
    IS
         v_Message     VARCHAR2(254);
         sql_stmt1     VARCHAR2(1000);
         sql_stmt2     VARCHAR2(1000);
         c1           SYS_REFCURSOR;
         c2           SYS_REFCURSOR;
         cur_tab          varchar2(100);
         cur_appl     varchar2(100);
         cur_rec     varchar2(200);
         valid_flag     number;
         criteria     VARCHAR2(20);
         tab1          VARCHAR2(20);
         tab2          VARCHAR2(20);
    BEGIN
         criteria := 'XMLTYPE';
         sql_stmt1 := 'select id, path from ' || v_schema || '.stubfiles where type=:bcriteria';
         open c1 for sql_stmt1 using criteria;
         loop
         begin
              fetch c1 into cur_tab, cur_appl;
              exit when c1%notfound;
                   insert into system.log_table values (sysdate, v_schema, 'next table', 'id ' || cur_tab, 'appl ' || cur_appl, '');
              sql_stmt2 := 'select t.recid, t.xmlrecord.isFragment() from ' || v_schema || '.' || cur_tab || ' t';
              open c2 for sql_stmt2;
              loop
              begin
              fetch c2 into cur_rec, valid_flag;
                   exit when c2%notfound;
                   insert into system.log_table values (sysdate, v_Schema, 'next record', 'id ' || cur_tab, 'recid ' || cur_rec, 'valid ' || valid_flag);
                   commit;
              EXCEPTION
                   WHEN OTHERS THEN v_Message := sqlerrm;
                   dbms_output.put_line('Error for ' || cur_tab);
                   dbms_output.put_line('-' || v_Message);
                   insert into system.log_table values (sysdate, cur_tab, 'id err' || c_Row.ID,'appl err' || c_Row.path, v_Message,'');
              end;
              end loop;
              close c2;
              commit;
         end;
         end loop;
         close c1;
         commit;
    END CHECKXML;
    Thanks in advance
    Evgeni

    Hi
    Why do you use a GTT? Just keep your xml in memory...
    HTH
    Chris

Maybe you are looking for

  • What is the interface for MDD connected to monitor?

    I got an used MDD 1 GHz for child, which does come with any cord or accessories. The most surprise to me is its port for connecting itself to a monitor. I cannot find an interface for connecting it to the cord of the monitor. What is the part number

  • Regarding ALV Header

    Hi Abapers, I am having one Problem regarding ALV Header on the report. Requirement is to get the data it into this order on ALV Header using Simple ABAP. Summary "Building No       Room No          Comments 111                   AA                  

  • Missing Attachments in Mac Mail

    Hi, I have a client who use Exchange 2007 as there mail server. The mac clients either use Mail or entourage to connect to the mail server. The problem i am having, is usaing the Mail client, attachments will not show up on random emails. If i use OW

  • Subtitles not appearing when play all selected.... please help

    Hello All, The deal goes like this... I am making a DVD for a national park and I have 4 videos 3 of which have subtitles. The subtitles are on a separate menu and you don't have to select to show subs, they are automatically selected when the viewer

  • Themable Window Manager

    I have been switching window managers for a while now and have gotten to where I have a specific set of requirements and no contenders.  I was wondering if anyone could recommend some apps. I am looking for a window manager that is almost fully thema