Find dependency of the object

Hi all

Oracle DB version: 11.2

I have an object called XLZ, there a lot of dependencies on other objects. In this sense, it uses a lot of packages inside. I want to list all the packages that are used inside the package XYZ. Not only that, but I need to drill down to all of its packages and find the dependence of it, until I have find the package that has no dependencies. I'm not bothered about the other any other object of the Package body.

I tried to write the query something like this:

Select * from DBA_DEPENDENCIES

First name = 'XYZ' and type = 'PACKAGE BODY'

Connect prior REFERENCED_NAME = name

and referenced_type = 'PACKAGE BODY';

But this only gives the package dependent with XYZ. This does not bore down to the package of sheet body.

My expected output is:

(1) view all dependent modules of XYZ

(2) Let's say XYZ depends on CBA, PQR and EFG

(3) now to explore the body of ABC and PQR EFG package and pick up his package depending on body

(4) keep this iteration until you find no dependence more

Thank you.

Maybe

Select *.

(select level lvl, is_cycle road, sys_connect_by_path(name,'/') connect_by_iscycle, ud.*)

of user_dependencies ud

First name = 'CYCLIC_ORDER' and type = 'PACKAGE BODY'

connect to nocycle

prior referenced_name = name

and prior referenced_type = "PACKAGE".

)

where referenced_type = 'PACKAGE '.

LVL IS_CYCLE PATH NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE REFERENCED_LINK_NAME SCHEMAID DEPENDENCY_TYPE
1 1 / CYCLIC_ORDER CYCLIC_ORDER PACKAGE BODY ETBIN CYCLIC_ORDER PACKAGE - 202055 HARD
2 0 / CYCLIC_ORDER/CYCLIC_ORDER CYCLIC_ORDER PACKAGE BODY SYS STANDARD PACKAGE - 202055 HARD
2 0 / CYCLIC_ORDER/CYCLIC_ORDER CYCLIC_ORDER PACKAGE SYS STANDARD PACKAGE - 202055 HARD
1 0 / CYCLIC_ORDER CYCLIC_ORDER PACKAGE BODY SYS STANDARD PACKAGE - 202055 HARD

Concerning

Etbin

Tags: Database

Similar Questions

  • Find dependency on the function packed

    Hi all

    I want to find dependencies on packaged function. that is, objects that depend on the procedure packed.
    Let's say we have a P1 package and it has 3 functions F1, F2, F3. I want to find out what all the other objects (package or procedure or function) depend on the P1. F1.

    I know how to find the dependence on the package as a whole, but do not know how to find the dependence on the packaged only function.

    I also know as a work-around, I can search the table all_source and find in reference to P1. F1 and get that.

    But otherwise that anyone else could have used them to find dependency function package?

    Thank you

    A package is considered as a single object, if no breakdown of features, I'm afraid.
    That said, if it's something you need on a daily basis, you can write a helper using your mentioned workaround solution function, makes the breakdown for you. Then you could integrate in sqldev by a user defined extension XML IDE...

    Have fun
    K.

  • FindGrep results in tables tables, depending on the object table of GOLD?

    Hello

    Currently, I get the text, I would like to consider using an index of PointInsertion from a previous search:

    ... . parent.insertionPoints.itemByRange (startPos, endPos)

    Original research, as I did, I got a simple table, but the search inside the insertionPoints, I had an array of arrays.

    Code example below. Just open a new blank document in InDesign and run the following. Adapted text is added in the code example, of research. (Tested in CS6 so far.)

    var activeDocument = app.activeDocument;
    var pg = activeDocument.pages[0];
    
    var fr = pg.textFrames.add();
    fr.geometricBounds = [20, 20, 100, 100];
    fr.contents = 'a00sdf 12-9999\n15-888'
    
    app.findGrepPreferences = app.changeGrepPreferences = null;
    // Search for digits on a certain pattern
    app.findGrepPreferences.findWhat = '\\d\\d-\\d\\d+';
    var findings =activeDocument.findGrep(); // Searching the whole document
    
    // The result is an array of Text objects
    $.writeln('1. ' + findings[0].constructor.name);
    // Result: Text
    
    
    // Now search using an insertionPoint object instead. Search from the start (0) up to the position where we found the first match in the grep above.
    var myTextObj = findings[0];
    var insObj = myTextObj.parent.insertionPoints.itemByRange(0, myTextObj.index)
    // Now just search for any two digits
    app.findGrepPreferences.findWhat = '\\d\\d';
    var innerFindings = insObj.findGrep(); // Searching inside the insertion points object
    
    // The result is an Array of Arrays
    $.writeln('2. ' + innerFindings[0].constructor.name);
    // Result: Array
    
    // ... inside which are the Text objects
    $.writeln('3. ' + innerFindings[0][0].constructor.name);
    // Result: Text
    
    // ... so why did I get an array of arrays when searching inside the insertionPoints object?
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    Thank you

    Andreas

    Hi all

    In any case, a range of text is a special beast compared to the results of.itemByRange (...) the regular Collection.

    The fact is that myText. insertionPoints.itemByRange (0, myIndex) provides a collective PointInsertion (and it would be the same with the characters, wordsor any collection of text), but this text range instantly forced into an single text unit as soon as you access a property. Compare:

    .pointSize de.stories.itemByRange (0, -1) myDoc(1); => Size chart


    (2) myText. insertionPoints.everyItem () .pointSize; => Size chart


    (3) myText.pointSize de.insertionPoints.itemByRange (0, -1); / /-online single size (even in the heterogeneous context)


    Thus, text ranges are specially treated as text units, which leads to ask why myRange.findGrep () returns an array of arrays. IMO, the DOM is not in conformity on this point.

    As shown in Peter, the workaround is easy. We just need to explicitly convert the beach in unity of the text reference is made, using either () myRange.getElements [0] or myRange.texts [0].

    @+

    Marc

  • Find out if the object is a type of TABLE?

    Hi all

    How will I know if it is an Array object that is passed? I usually rely on the 'typeof()' which returns the primitive type. But I cannot know if the passed value is an array. I wrote a simple function that return the type:

    function getType(p:object)

    {

    Return typeof (p);

    }

    So, I then wrote a function with the switch statement:

    function getArray(p:Object)
    {
    Switch (typeof (p))
    {
    case "string":
    return "STRING";
    break;

    case 'boolean ':
    return "BOOLEAN";
    break;

    case 'object ':
    return "OBJECT";
    break;
    }
    }

    I would be very apprecite your entry in the present.

    Thank you.

    Use the operator:

    If (p is array) {}

    } else if (p is Object) {}

    } etc.

  • Cannot find the dependency of the module with signature

    Hello:

    I use Visual Studio 2008 sp1 and Visual c#. The program works very well in environmental development and as a standalone .exe in the development computer and another in which he is also VS 2008 sp1 is installed. But if I try to run the program as one demo on another machine without VS2008, it gives me a module not found message as soon as it starts. If I delete the references to AIChannelCollection and ChanType, the program load without error. It does not matter whether or not the target computer has MAX on it. All machines are Win 7. I do not actually use Measurement Studio, but it seems that the classes are somehow associated with it. It seems that the program generates the error as soon as he calls a method with ChanType or AIChannelCollection in it.

    I also get a warning on the construction of the Setup project:

    Fo could not find dependency of the module with the signature "Microsoft_VC90_CRT_x86.0138F525_6C8A_333F_A105_14AE030B9A54

    In my C:\Program Files (x 86) of the \Common Files\Merge Modules directory, I present Microsoft_VC90_CRT_x86.msm indeed. (589 KB, 15/03/12)

    In detected dependencies, I have:

    Microsoft .NET Framework

    microsoft_vc90_crt - x 86 .msm

    mstudiocommon.2008.msm

    mstudiodaqmx.2008.msm

    I tried to add policy_8_0_Microsoft_VC90_CRT_x86.msm, then policy_8_0_Microsoft_VC90_CRT_x86.msm without success. The warning persists little matter what I do, and the program will work very well on a computer with VS2008, but not otherwise.

    Help, please.

    Thank you.

    Tom

    This problem has been resolved internally. For reference:

    The Measurement Studio merge modules have a dependency on the Visual Studio merge modules. (NOR) must be given a specific signature and version of what our modules-dependent (for example, we cannot say something like "we depend on this signature of wildcards with this generic version; "This is a restriction on the level of the Windows Installer). What happens is the following:

    1 Microsoft released an update that changes the signature of module of the MSM that we are dependent (e.g. it's bad to do because its existing customers as use breaks)
    2. where Visual Studio will create a Setup project, it looks like our MSMs ModuleDependency ¿and attempts to locate the MSM. The problem is that the Microsoft Visual Studio MSM update have a different signature/version and so Visual Studio cannot locate the MSM. So the MSM Visual Studio don't get included in your Setup project.

    So, basically, there was a kind of update Microsoft (probably to VS 2008 SP1) which updates the modules that depend on our DAQmx merge modules. As a result, the old buildings no longer exist, so the Setup program creates a warning and fails finally when trying to run on a target computer. There is also a forum link below that is this number in case you are looking for more information or need a different version of merge modules:

    http://forums.NI.com/T5/Measurement-Studio-for-net/problems-building-InstallShield-installer-after-u...

  • sys. Object depends on the execution context?

    Why this is so,
    This "sys.all_objects" table shows different data depending on the schema/user who queries the table?

    Example, I know that I object 'MWSLIIDES.xxMWSTS_OrderImport' in the database and database contains two users/schemas: APPS and MWSLIIDES.
    If I have a query as connected as user MWSLIIDES, so I can see this object:

    -run as MWSLIIDES
    Select * from object ao
    where owner = "MWSLIIDES."
    and higher (ao. Object_name) ("XXMWSTS_ORDERIMPORT") - 2 records, spec package and body for "xxMWSTS_OrderImport."

    But if I log in as a user APPS, then this query is not find anything:


    -run as applications
    Select * from object ao
    where owner = "MWSLIIDES."
    and higher (ao. Object_name) in ('XXMWSTS_ORDERIMPORT') - no record

    Can you explain why this is so? I understand that "sys.all_objects" should show the same content for everyone, regardless of under which schema/user I query the table.

    Hello

    Object is a point of view in the sys schema.

    This view has much of the place where clause, the where clause must find out who is running the query via a condition (userenv ('SCHEMAID'), 1 / * PUBLIC * /).
    Then she also a denomination to check the privilege of the user (sys.objauth$) which performs a query with all the object in the database ($obj).

    This condition two and many other condition contributes to Oracle to show you only the objects that you have access.

    Concerning
    Anurag Tibrewal.

  • When you try to upgrade to photos in app store I get this message "the object you requested is not available in the store US." does anyone else have this problem or can you tell me how to find pictures in the app store

    "When you try to upgrade to photos in app store I get this message"the object you requested is not available in the store US."does anyone else have this problem or can you tell me how to find pictures in the app store" someone else meets this.  Is it me or is it pictures?

    Ever photos first? It should have been included when you first update of Yosemite and now El Capitan. I know that iPhotos updates get a message like that, but I didn't know the Photos app with a message with it.

    Update to iPhoto to Photos for OS X - Apple support

  • Y at - it somewhere I can find a list of items that is supposed to be running in activity monitor and those that should raise red flags?  I know the list varies depending on the applications and installed process but a base line would be nice

    Y at - it somewhere that I can find a list of explanations or definitions of applications that are running in the monitor of activity as well as a list of items that should raise red flags?  I realize account from the list will vary depending on the applications and programs installed and running, but it would be nice to have a base line of what should be expected and considered safe or normal.  There are too many items to research and one at a time.

    No, not so much.

    You have a problem you're trying to solve?

  • Double-click the object of front panel to find the terminal block diagram

    Hello world. I don't know why, if I double click on an object to front panel, labview opens the front tab customize, instead of finding control in block diagrams, which would be the normal behavior, as I read in http://labviewwiki.org/Tips_and_tricks#Debugging.

    I tried to reset the initial Setup by renaming the file LabVIEW.ini, but it doesn't seem to work.

    Do you know how double-click the object on the front panel and locate the?

    Thanks in advance!

    Guille.

    Did you restart LabVIEW after you rename the file labview.ini?

    There is an option (Tools... options...... general façade... 'Open the editor control with double click').

    It always seems to be set in your case.

  • "Expected of the object 'where to find album info in WMP 11.

    I'll try to find info on the album for a few songs in my list, but I get this error message:

    Online: 240

    Tank: 25
    Error: Object EXPECTED
    Code: 0
    URL: HTTP://FAI.MUSIC.METASERVICES.MICROSOFT.COM/FAI/ALBUMMATCH.ASPX?LOCALE=409&VERSION=9.0.0.4510&REQUESTID=90329D2E-81B3-487E-875E-6636E602B4BA
    By clicking 'Yes' or 'No' has no effect.
    I've already restored to WMP9, done the thing of regsrv msxml3.dll, even deleted my entire Temp folder without result.
    What can I do?

    Sorry, I wanted to say I deleted the

    C:\Documents and c. Santos-Viola\Local Settings\Temp
    as opposed to the
    Folder C:\Windows\Temp.
    Also, the globe of Nigel12 solution does not appear on the browser of WMP9, I already tried on the browser of WMP11.
    EDIT: Solved the problem by disabling all files with CCleaner.
  • QueryResultNotFoundException: Could not find the object of type VC:HostSystem

    I get this error when you try to run a workflow from the Web Client vSphere. The host object will not update automatically when you right-click on the host and you attempt to run the workflow. After the error is thrown, you can access the host through the object browser.

    The workflow contains only a single entry: host: VC:HostSystem

    vCenter: 5.5.0 build 1750787

    Orchestrator: 5.5.3

    vCenter is joined with the FQDN

    I tried to manually assign the Orchestrator appliance by the COMPLETE domain name in the configuration of the Web Client.

    I tried to re-registration of the extension through the CROWD.

    Capture.JPG

    To solve the problem, open a browser (or a client of REST) and to apply /GET to the following to the URL Https://your-vco-server:8281 / vco/api/catalogue/VC/HostSystem

    In the body of the returned response, find the item that matches your host host-3121and inside the element, it must be an attribute in search of something like

    
    

    Check if the value chain above - your-vcenter-addr/host-3121 - exactly matches the value the vSphere Web Client tries to look, as seen in the ToolTip for the error. If they do not match, you must reregister the instance of vCenter in vCO using the expected by vSphere Client Web address.

  • Find that amendments may not remove the object

    Hi all

    The Find/Replace dialog box is adjustable to the object, and I can pick up successfully for objects of open plot line .5pt and stroked with black color. But, I can't delete them.

    Suppose I need to go through hundreds of pages to delete a line of stray path. Find/replace won't! Is there a solution to javascriptable?

    After more experimenting, I shot an existing script that came with InDesign and came with this variant:

    //SelectPathObjects.jsx for InDesign JavaScript
    /*
    2015_02_02
    */
    main();
    function main(){
      //Make certain that user interaction (display of dialogs, etc.) is turned on.
      app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
      if (app.documents.length != 0){
      if (app.activeWindow.activeSpread.pageItems.length != 0){
      myDisplayDialog();
      }
      else {
      alert("The active spread does not contain any page items.");
      }
      }
      else{
      alert("No documents are open. Please open a document and try again.");
      }
    }
    function myDisplayDialog(){
      var myDialog;
      //Create the SelectObjects dialog box.
      with(myDialog = app.dialogs.add({name:"SelectObjects"})){
      with(dialogColumns.add()){
      with(borderPanels.add()){
      staticTexts.add({staticLabel:"Select:"});
      with(dialogColumns.add()){
      var myGraphicLinesCheckbox = checkboxControls.add({staticLabel:"&Graphic Lines", checkedState:true});
      }
      }
      }
      }
      myResult = myDialog.show();
      if (myResult == true){
      var myObjectTypes = new Array;
      //Gather control settings from the dialog box and build
      //an array containing the object types to select.
      if(myGraphicLinesCheckbox.checkedState==true){
      myObjectTypes.push("graphicLines");
      }
      //Remove the dialog from memory.
      myDialog.destroy();
      mySelectObjects(myObjectTypes);
      }
      else{
      //Remove the dialog from memory.
      myDialog.destroy();
      }
    }
    function mySelectObjects(myObjectTypes){
      var myCounter;
      var myObjectsToSelect = new Array;
      with(app.activeWindow.activeSpread){
      for(myCounter = 0; myCounter < myObjectTypes.length; myCounter++){
      if((myObjectTypes[myCounter] != "images")&&(myObjectTypes[myCounter] != "epss")&&(myObjectTypes[myCounter] != "pdfs")){
      myPageItems = eval(myObjectTypes[myCounter]);
      if (myPageItems.length != 0){
      for(myPageItemCounter = 0; myPageItemCounter < myPageItems.length; myPageItemCounter ++){
      myObjectsToSelect.push(myPageItems[myPageItemCounter]);
      }
      }
      }
      }
      for(myCounter = 0; myCounter < pageItems.length; myCounter++){
      myPageItem = pageItems.item(myCounter);
      try{
      if(((myIsInArray("images", myObjectTypes) == true) && (myPageItem.images.length == 1))||
      ((myIsInArray("epss", myObjectTypes) == true) && (myPageItem.epss.length == 1))||
      ((myIsInArray("pdfs", myObjectTypes) == true) && (myPageItem.pdfs.length == 1))){
      //Is the page item already in the list of items to select?
      myID = myPageItem.id;
      myAlreadyAdded = false;
      for(myPageItemCounter = 0; myPageItemCounter		   
  • Find the edge of the object in After Effects

    Hello

    first of all, I'm sorry if the answer to my question is already posted somewhere... I'm a little confused, I did not only find one somewhere in the web already - don't know if I may search for terms good or if it's really such a special question, I...

    Anyway, my question is: How can I get the coordinates of all four edges of the objects (images) in a three dimensional composition in After Effects? And also, is there a way to see the real coordinates of the camera that I have proposed by several same-sex objects?

    In this case, it could be interesting, here is a more detailed description of my situation: I did a little three-dimensional composition in After Effects with images scaling and rotation one a mobile camera. I want to show the composition in a Tablet app and my first plan was to make and put the film in the app, but now my programmer and I think it might be better to generate the component directly in the app. So my programmer needs the coordinates of said to rebuild the composition in its code (as far as I know, using Xcode and wrote the app in Objective-C).

    Hope you guys can help me...

    See you soon!

    Theo

    (I use after effects on Mac OS X 10.9 CC.)

    Layer space transforms

    Everything you need to know (with a bit of additional reading upward using EI...).

    Mylenium

  • Try to find all THE objects that point to a column...

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE Production 11.2.0.3.0
    AMT for Solaris: 11.2.0.3.0 - Production Version
    NLSRTL Version 11.2.0.3.0 - Production



    I have several patterns, all that have tons of objects that point to a column in a table.
    I tried looking at v$ sqltext and v$ sqlarea, but it does not appear as expected.

    There is a view that I can watch that will show me all the objects that relate to a single column?

    my situation. Had to change the structure of data in this one column. Changed the default value of a Y a l I have packages, functions, triggers, etc... dealing with this single column. I make sure I have go through EACH of them and modify them to reflect the change in the column of the table. And still, it extends over several patterns that point to it.

    I can't forget all the objects. Is there any one place to find it?

    Thank you.

    Use the mode - DBA_DEPENDENCIES

    select * from dba_dependencies
    where type= 'TABLE'
    and name = '';
    

    Another gross way...

    select * from all_source
    where lower(text) like lower('%%')
    group by owner,name,type;
    

    But, this will not search in the views & MView queries.

    HTH
    Vanessa B.

    Published by: Vanessa B on October 15, 2012 23:09
    -added

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
    
  • any way to lock the scale of a model (not dependent on the size of the object)?

    I know about the scale dialog box and the mode of scaling and object independently, but what I would really is a way to block a model to stay the same size and shape compared to any size becomes the object, to which it is applied throughout the document.  From now on, it's hard enough to do what I say... constantly bother with issues of scale in the scale dialog box.  But what happens if you have two objects and you want them to have the same model, same size etc even if their size and move them?  Think if you are mapping and you as "swamp" or "thick granite" symbol and you want the marsh plants few stay the same size easily. It is possible now, but certainly not easy I can tell. 'Traits and effects scaling' option in preferences does not affect employers, is basically down to resize the object and then guess what percentage to keep the model. And I really don't want to do up the dialog scale up just because I want to make one of my larger items and don't want to come into conflict with the other grounds in the same way. Or maybe I'm not using the right program...

    all advice?

    Few things that comes to my mind - disable the motif size change in preferences. The select the object that has this model of fill and click twice on the shade of reason. This would reset the fill of the model in its default size. If you find that too big or small, rework on the shade of reason to get the right size. And next time, when you use the scale dialog box, make sure that you do not have "Patterns" checked.

    To change the position of tile in the fillings - select the object, press the tilde (~) key and using the Selection tool is trying to move the object slightly. Experiment a little.

    If that doesn't help - thanks for posting a snapshot.

    See you soon!

Maybe you are looking for