How to find objects (tables) used in MS

Is there any query with which I find all the tables that are used (to perform the operation Select Insert Update Delete) in a procedure in oracle 10g.

I want to take on all the tables used in particular. but it is more difficult to find by looking at the line by line as the sp is 3 k + lines.

View USER_DEPENDENCIES:

SELECT referenced_owner, referenced_name
FROM user_dependencies
WHERE type = 'PROCEDURE'
AND name = 'YOUR_SP_NAME'
AND referenced_type = 'TABLE'
;

Tags: Database

Similar Questions

  • How to find a table, using the name of the column in the database schema

    Dear all,

    Please help me on

    using the name of the column, how to find a table name in the database schema.

    Thanks in advance

    Hello

    You can query the data dictionary views all_tab_columns and user_tab_columns.
    For example, to find the tables in the scott schema have called deptno columns:

    SELECT  table_name
    FROM    all_tab_columns
    WHERE   owner           = 'SCOTT'
    AND     column_name     = 'DEPTNO';
    

    Remember that anything inside quotes is case-sensitive.

    The all_tab_columns view has one row for each column in each table (or view) that you have the privileges to use.
    The user_tab_columns view is a subset of all_tab_columns, containing only your own tables (and views).

  • How to find a table behind the OA framework page

    Hello
    can any body tell me how to find the tables behind any page of OA framework in particular for screens of ALS.
    Concerning

    On the tab of the page-->, click on expand all link.

    Here you can find the area of the table and the VO rasthaus to it. When you've got the name of the View object.

    Then click on details of the Business component references-->

    In the object section View find your viewObject and click on it. Here you can find the application attached to it.

    Thank you
    -Anil

  • How to know the tables used in packages of a schema.

    How to know the tables used in packages of a pattern that I have connected.

    SELECT DISTINCT referenced_owner, referenced_name

    Of all_dependencies

    Owner WHERE = "MY_USER_NAME".

    AND type ('PACKAGE', 'BODY of PACKAGE')

    AND referenced_type = 'TABLE '.

  • How to find the tables that are used in a procedure

    Hello
    I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
    In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
    Can you help me?
    Thank you!

    Mark1970 wrote:
    Hello
    I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
    In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
    Can you help me?
    Thank you!

    I don't know if I understand your problem, but have you had a glance at the data dictionary views USER_DEPENDENCIES or ALL_DEPENDENCIES?

    It has classified hard dependencies of objects.
    If a table is used directly (not in dynamic SQL code in a string) in an object PL/SQL, the dependency is available in the stated points of view.

  • How to build a table using incoming data stream?

    I'm programming in VBAI but use LV as my Interface of Inspection. The VBAI program will go into a finite loop (x 1000) and the digital indicator with dbl vaule of food in front of the LV Panel if the value double is in order.

    In LV, how to build a table (index 0-999) with this stream?


  • How to find the certificate used to sign app?

    There is a site that uses DBsign UWS to validate personal certificates on a smart card.  I found myself breaking this feature by moving the default Java truststore so I could create a new one with a few roots/split AC that I trust (I have no desire to let apps signed by China, Russia, Turkey and countries spelled with heiroglyphs).  Now, my browser thinks that the UWS is self-signed and rfuses to run it.  I need to find the certificate used to sign this app to see what cert (s) sign, so I can add them to the truststore.  How can I find that?

    To answer my own question:

    jarsigner - verify - verbose - CERT DBsignUWS.jar

  • How to find DB tables containing specific columns (ORG_ID / ORGANIZATION_ID)

    Hi all, I would like to know if someone has developed a script to find all tables containing the columns (fields) specific.


    I'm on a migration project where I don't have access to the source of the DB, I just ask for queries and I to reflect all the tables DB containing specific data of organization.

    So the first step was to understand used tables and I get them, now I understand what tables have Org_id / Organization_ID and fields of the SOURCE of the LANGUAGE/LANGUAGE (source DB has much set Org and many languages also, so I need to filter the 100total 6ORG_ID and 2 languages of 8 total installed)

    Can anyone help?

    Thank you

    Best regards

    Pietro

    Hello

    You can see this:

    Find all tables in db with the name of the column of a particular string?

    Kind regards

    MihaiF

  • How to find your table looks in Oracle EBS

    Hi experts,
    I'm looking for the query that can be found on all the tables/custom objects in Oracle EBS? For some reason, the name of tables/custom objects does not follow a standard. Only reason why I can't find any custom objects in the database. If you have this application, please share with me.

    Thanks in advance
    Hieu

    PL post Details of the operating system, database and versions EBS.

    As far as I KNOW, if you did not follow a strict naming convention for all of your custom paintings/objects and have them not documented correctly, there is no query that can tell you what tables are customized.

    A manual option you have is to look to the top of each table/object Etrm - https://etrm.oracle.com - if it is documented in this Web site, it is a basic object/table. If not, it's most likely a custom array/object.

    HTH
    Srini

  • How to find a space using grep?

    Hello

    I tried several ways to find a space (SPACEBAR) at the beginning of a paragraph using grep. I can get to find any white space at the beginning of a paragraph, but not only a space (SPACEBAR) specifically? Anyone know how to find?

    Thank you

    Gary

    ↑ followed by a space. There is no special code for a single regular space.

    If you want to see where you have entered one or more spaces, use this code to enter a space character:

    \x{20}

  • How to find measures that use a given local variable?

    I have a variable in my sequence TestStand, called Locals.x, and I want to find all the sequence steps that refer to him. I thought I might be able to right click on the variable in the 'variables' pane and use something like "find the steps using this variable.

    So far, the only one that works is to rename the variable (such as Locals.x_), and then click the Analyze button to reveal errors that result. It is a clumsy method, however.

    Any other ideas?

    What is the problem with the help of the TestStand find/replace tool?  Just press CTRL + f and type Locals.x in there.  Then click find/replace.  You will get a list of all the places he used.

  • How to find what VM uses base 20, 21, 22 and 23

    I have a HP DL 385 of AMD 24Core server. I have 4 cores that are showin very high utilization. There are 15 VM in this server.

    My question is, how do I know VM using / affected of the carrots, 20, 21, 22 and 23?

    I do not have affinity processor.

    Thank you

    Here is a document that describes the registration procedure.   http://www.VMware.com/files/PDF/Techpaper/VMW_vSphere41_cpu_schedule_ESX.PDF

  • How to find the table in a schema, if I only have a particular column name

    Hi all

    Ideal if some1 could help me, I know not a column name and I need to find the table that actually holds this column paricular name I know.

    is it possible to find this particular table with SQL?

    Thank you
    Rahul

    Select the table TABLE_NAME from user_tab_columns where column_name = 'COLUMN_NAME '.

  • How to find the interface using the table name target

    Hi friends,

    Whether it's with the help of the name of the target table, it is possible to find the name of the interface that invokes this target in ODI 11.1.1.7 table.

    Thanks in advance.

    Kind regards

    Saro

    Highlight the data in the browser store, expand its sub-tree, there is a node "filled in", under the node, it lists all the data stores that are used as sources for the current data store

    then expand "used by"-> interfaces, it will display all interfaces include the current data store (but maybe the current data store is used as a source)

    That's all you can get user interface, otherwise I guess you can use the SDK.

  • How to find the tables placed only on pages.

    Hi experts,

    I find all the tables in the document (no XML Indd file.) .indd There is only a certain number of tables. And a table in the master page also. Now I'm trying to get back only the tables except the master page. How can I got it?

    I used the following code. But it is not working properly.

    var myTables is app.activeDocument.stories.everyItem () .tables;.

    App.Select(mytables[0]);

    var myTableCount = myTables.length;

    Alert (myTableCount);

    for (var i = 0; i < myTableCount; i ++) {}

    var myTableObj = myTables [i];

    Alert (myTableObj.parent);

    Try

    {

    var myTableObj.parent.parentPage.name = XXX;

    If (xxx.match("^[0-9]+$"))

    {

    Alert ('table');

    myTableObj.label = 'table' +(i+1);

    }

    on the other

    {

    Alert ("Master Page table");

    }

    }

    catch (e)

    {

    Alert (e.message);

    }

    }

    Always throw catch loop...

    Can someone guide me...!

    Thank you and best regards,

    Vel.

    Hi Peter,.

    Finally, I close with the codes below. It make me fight a lot...

    var pagelen = app.activeDocument.pages.length;

    Alert (pagelen);

    for (var i = 0; i)<>

    {

    var pageitemlen = app.activeDocument.pages [i].pageItems.length;

    for (var j = 0; j)<>

    {

    v var = app.activeDocument.pages [i] .pageItems [j] .tables;

    Alert (v.Length);

    for (var x = 0; x)<>

    {

    App.Select (v [x]);                                                      Here, I can select.

    App.Selection [0] .label = "table" + count;

    Count ++;

    myTables.push (v [i]);

    }

    }

    }

    Peter, thank you very much for your time in Golden for my problem...

    With respect,

    Vel.

Maybe you are looking for