How to find out where a table is used in the code ?

I have a huge database, and I am adding a column to a table...
is there a query to find out if this would impact the code ? I mean I want to find all the places in the code with
insert into mytable, or update mytable.....
how to include both insert into mytable, and update mytable in dba_source ?

Use DBA_DEPENDENCIES:
select owner,name,type from dba_dependencies where referenced_name = 'TABLE_NAME'
and referenced_owner = 'TABLE_OWNER';For example:
SQL> select owner,name,type from dba_dependencies where referenced_name = 'EMP'
  2  and referenced_owner = 'SCOTT';
OWNER                          NAME                           TYPE
PUBLIC                         TABLE1                         SYNONYM
SCOTT                          SELECT_EMP                     PROCEDURE
SCOTT                          EMP_DEPT_VW                    VIEW
SCOTT                          PP                             SYNONYM
SCOTT                          EMP_MV                         MATERIALIZED VIEW
SCOTT                          EMP_VIEW                       VIEW
6 rows selected.
SQL> However, keep in mind DBA_DEPENDENCIES stores statis references only. If your code references table in question in dynamic SQL you will have to parse DBA_SOURCE and in some cases, even that will not give you all answers.
SY.

Similar Messages

  • Session Variable : How to find out where all it is used in the repository?

    Hello Everyone,
    We have a requirement where we need to convert a few session variables into repository variables. For this we need to figure out where all is that session variable used in the repository and webcat (which all logical columns use it, which all prompts use it etc). We tried the query repository utility but that didnt help. Is there any other way to find that out? Will really appreciate any pointers from your side.
    Thanks in Anticipation,
    Karan

    Hi,
    To find the variables used in,
    Rpd : Open the rpd->Navigate to Tools Menu->Select "Utilities"->"Repository Documentation".This will generate a csv file with the associations
    Webcat :Open the webcat using catalog Manager->Tools Menu->Create Report-.Select the desired columns (Include Xml column)->Open the rpeort in excel find "Variable"->from this you can find the various variables used in the catalog.
    Rgds,
    Dpka

  • How to find out where a query is used in a FMS and or Form?

    Hi Experts,
    How can I find out quickly where a query is used in which fms and / or form?
    thx,
    Richard

    Hi Richard,
    Try this:
    SELECT T2.FormID, T2.ItemID, T2.ColID,
    T1.CatName,T0.Qname FROM [dbo].[OUQR] T0
    INNER JOIN [dbo].[OQCN] T1 ON T0.QCategory = T1.CategoryId
    INNER JOIN [dbo].[CSHS] T2 ON T2.QueryId = T0.IntrnalKey
    ORDER BY T2.FormID
    Thanks,
    Gordon

  • How to find out where movie clips are used?

    When I look at FLA project tree, I see Use Count column next to a movie clip. How do I find where this movie clip is used?

    Hi,
    You can use Edit > Find and Replace panel and set Symbols to Search
    Hope this Helps
    Thanks!
    Mohan

  • SBS 2008 - 'Sites' Certificate Expired - How to find out where/service it's used - if at all

    Greetings,
    Is there a way to see what options or services might be using the default sites certificate on our sbs 2008 server?
    PowerShell or Certificates MMC add-in?
    We have a Go Daddy for email and remote - so I'm thinking this self-signed- expired certificate can be deleted.
    Thank you
    Thanks in advance

    Hi,
    As far as I know, we could only use Certificates console check the certificates for the logged on user, for the specific service account and for the specific computer account. It’s hard to
    verify which option needs a specific certificate.
    For details about Certificates Console, please refer to the following article.
    Certificates Console
    http://technet.microsoft.com/en-us/library/cc962086.aspx
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • I have a 4s iphone from Australia I want to know how to find out it is unlocked to use in the US temporarily

    I want to use my Australian 4s iphone in the US.  I was told when I purchased it in Australia that I could use it in the US, which I am visitng for 3 months.  I need to know if it is unlocked. I went to a Verizon store but they were unable to help me.

    Thank You Meg,
    I was told when I purchased the phone from Telstra in Australia that the phone was unlocked and i would be able to us it in the US as long as I changed the sim card and found the right carrier. I will now go to AT&T since you have told me they are the carrier.  No wonder Verizon could not assist me.  Thank You.
    Do you know how I myself can check to see if it is unlocked??

  • How to find out that particular structure is used in which tables

    Hello Friends,
    Most of the times through techinal information we come to know the table name for a particular field.And in se16 when i give that table name than system says its structure and not the table.So in se11 when i give that structure name in database table field, its shows all the field in that structure, but not the data stored in that field.
    So my question is how to find out that particular structure is used in which tables,so that i can view data stored in that structure?
    Thanking you guys in advance.
    Regards,
    Jitendra

    Dear,
    When you click on the technical information it will give the structure name and field, double click on the structure and it will take you the display structure screen, there you will have the where-used List icon (Ctrl + Shift + F3) at the top , click on that and it will show the options, select Database tables and execute, it will give the tables related to the structure, you can explore the list of tables and find where your required field is stored in them.
    Thanks & Regards,
    Vijaya Bhaskar A

  • How to find out where R/3 report data are stored

    Hy,
    I am new in BW.
    I have SAP R/3 report, I need to transfer that report data (all table data) to BW.
    Could You explain me step by step how i can do it?
    How to find out where data are stored?
    Thank you very much!
    Regards,
    Arunas

    Hi Arunas,
    This topic has been discusssed here earlier. Check these links:
    BW solution for ABAP Reports
    BW reports
    Bye
    Dinesh

  • How to  find out where sap error messages stored...

    How to  find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?

    Hi,
    I also got the same message when that message no is not there
    E:SABAPDOCU:000 test 
    yours is S-type and message id ZY and message no 127
    127 is not there either change the no  or create the same
    Regards
    Shiva

  • How to find out where sap error messages stored in our system

    How to find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?

    Are you interested in WDA messages ?
    The set a breakpoint in METHODS IN class CL_WDR_MESSAGE_MANAGER.
    Then use call stack (default desktop 2 in debugger) to see where message is added to message manager.
    regards
    phil

  • How to find out where the tablespace physical file *.dbf ?

    How to find out where is my tablespace physical file *.dbf ?
    Can I increase tablespace_name: TEMP and how to increase it.
    First, I need to know where is the TMP *.pdf file, am I right?
    Thanks in advance

    This forum is for issues with the SQL Developer tool. You'd get more response in the General Database forum.
    Have fun,
    K.

  • How to find out name of table for a structure.

    hello all,
                I want to find out name of table for a structure ADDR1_DATA. can anybody pls tell me how to find out it?
    Thanks,
    Ashu

    Hi Ashu,
    You write the structure name in se11
    after selecting the database table radio button
    click on the where used list button in the application tool bar.
    You will find the table name if it is used else where.
    Check out the website at:
    http://sap-idoc2edi-consulting.com/
    Read the blog at:
    http://blogs.ittoolbox.com/sap/ehadzipetros
    Regards,
    Jagadish

  • How to find out where a value is stored

    Hi,
    i entered something in HR Area infotyp 0031, i expected to find those entries in table pa0031, but this table remains empty. How can i find out where sap stores those values?

    press F1 on the field where u typed the value. click on technical info and get the table and field name.
    in most cases it might be structure. either way, go to se11 and type the table/structure name and then search for the field name in that table.
    then dbl click on the data element and click on the where-used button.
    now select table entries and start looking for all the tables where the field is present. go to each table and check for the number of table entries and see if the value u entered has been caputred in that table or not.
    hope that helps.
    else u can revert back
    regards,
    pk

  • How to find out if a table has logging on?

    I need to temporarily turn off logging, and restore the logging setting afterward.
    How do I find out if a table has logging on or off before my change?

    TUBBY_TUBBZ?alter table tablea nologging;
    Table altered.
    Elapsed: 00:00:00.28
    TUBBY_TUBBZ?select logging from dba_tables where table_name = 'TABLEA';
    LOGGING
    NO
    1 row selected.
    Elapsed: 00:00:00.00

  • How to find out where a variable has been used?

    How can I find out where a variable has been used within a package/interface/procedure?
    Should I check it using repository's internal tables?
    Thanks

    Hi,
    you have to make some queries to find variable used in which ODI object.
    like, it fetch the variable with scenario name and scenarion can serve your need.
    select v.i_var,v.var_name,s.scen_name from
    ODEV91119_ODI_WORK.snp_var v,ODEV91119_ODI_WORK.snp_scen s
    where
    s.i_var=v.i_var
    and s.scen_NAME='V_BTCH_NAME'
    and agree with SH answer
    Thanks

Maybe you are looking for

  • All in one Antivirus solution tool?

    I've got a partner who's looking for an all in one anti-virus/malware tool for his business. He is a reseller and would like something similar to the MRI tool that Microsoft developed with BestBuy/GeekSquad to simplify virus removal. Does anyone know

  • Hide fields in a jsp

    hi i have a jsp in which i need to hide a field when it is first displayed. i have 2 radio buttons yes and no. the action class sets the no radio button as default. there is a text message that needs to be dispalyed only when the yes radio button is

  • DB13 problems after system copy

    Dear support, I have done system copy and followed post installation steps but i am not able to execute any job through DB13 even after setting ops$ mechanism. i get below job logs for any action started from DB13 Job started Step 001 started (progra

  • Comma and quote problem in csv file

    Hi My requirement is to append data in an csv file. This is Proxy to File FCC Scenario. for some of the fields from proxy which contains comma(,) and also double-quote("). for these fileds the in the csv file it is spiting in to two columns and appen

  • Upgrading JMS/IDM infrastructure

    Hi, I have a couple of questions around upgrading IDM and the infrastructure supporting it. We currently run IDM 8.1p5 on Sun Appserver 8.1 We use JMS-3.7 for Password Sync. The goal is to create a HA/Load balanced environment for the above. So, my q