How to create a script which gives all depedencies an object in 11g

How to create a script which gives all depedencies an object in 11g

You can use dba_dependencies for this... go through the manual.

I don't know in this thread, someone will come up with the query for you, but there is another approach is:

in sqlplus:

SET SERVEROUTPUT ON SIZE 1000000
EXEC  dbms_utility. get_dependency ('TABLE','SCOTT','EMP');   -- object_type,user,tablename as parameters

See you soon,.
Manik.

Tags: Database

Similar Questions

  • How to create a recovery disc with all vista updates?

    original title: how to create a recovery disc with all vista updates without starting from scratch, so I can replace my hard drive?

    My hard drive seems to be dying.  I would replace the drive.  I reloaded vista from scratch with all the updates, but it took forever.  I would like to make a record of recovery with all updates.  IAM on vista Home premium.  32 bit

    If you want a good backup program that backups image, I recommend Acronis True Image 2010:http://www.acronis.com/homecomputing/products/trueimage/.  It offers a free trial, so you can test and if you want it's only about $30 for the original version.  A lot of people I know this program and use it instead of Vista even in versions of Vista that offers imagery as this program does a better job.  Of course you also need a place to put the backup (which will take a lot of space), so also consider.  The best choice would be a USB external hard drive at least as large as the readers you want to back up (not only the data on them, but the entire available disk space, so you miss when you add more information about the disks).

    You cannot use IMGBURN do - it can't do anything like that.  It must be the imagery of backup software.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to create the script to compile procedure files in oracle - urgent deadline...

    How to create the script to compile procedure files in oracle.    about to go live and have much .prc pkg in a directory usr/tmp/ar... Po... human resources etc. need to create a script to compile all the files in the folder, then do not open all necessary .prc suggestions on how to do it.   Thank you Tom.

    (1) an urgent need, ASAP,... are words that do not in a forum of volunteer. We are here to help if you need it now, for free, open a SR.

    (2) oracle procedures are not files.

    (3) I think you are trying to run operating system packages, no Oracle procedure. right?

  • script which gives the hostname with more CPU resources and memory available

    Hello

    Anyone have a script which gives the hostname with more CPU resources and memory available in the cluster?

    Concerning

    Vickie

    Hello, VicMware-

    You can get the host with the free CPU, or with the most free memory resources, using the following:

    ## get the host with the most free CPU cyclesGet-Cluster myCluster0 | Get-VMHost | Select-Object Name,    @{n="CpuMhzFree"; e={$_.CpuTotalMhz - $_.CpuUsageMhz}} | Sort-Object -Property CpuMhzFree -Descending | Select -First 1
    
    ## get the host with the most free memoryGet-Cluster myCluster0 | Get-VMHost | Select-Object Name,    @{n="MemGBFree"; e={$_.MemoryTotalGB - $_.MemoryUsageGB}} | Sort-Object -Property MemGBFree -Descending | Select -First 1
    

    The first would have produced something like:

    Name          CpuMhzFree
    ----          ----------
    myVMHost0          25384
    

    And the latter didn't would be out:

    Name           MemGBFree
    ----           ---------
    myVMHost4        122.323
    

    .. .or each of these host computers are those with the most free memory/CPU cluster, respectively.  What to do the things for which you are looking?

  • Trying to create a script that lists all clusters in a data center

    Hello

    I am trying to create a script that exports a vCenter configuration essentially and imports it in a new vCenter. I want the script to run without specifying a center of data manually. All the scripts I've seen you need to manually enter the data center.

    So, how to do a list of all the data centers with clusters in each of them? I also want to create a variable that contains the groups for the respective data centers. Here's a basic idea of what I want to do:

    $Datacenters = get-data center

    foreach ($Datacenter to $Datacenters)

    {

    $cluster = get-Cluster-location $Datacenter

    Write-Host "list of clusters in $Datacenters.

    Write-Host "$Cluster".

    }

    Who will give me the output like this:

    List cluster Datacenter1

    cluster2 CLUSTER1

    List cluster Datacenter2

    cluster3 cluster4

    But I don't know how I can get so I have variable like this:

    $datacenter1 = cluster1, cluster2

    $datacenter2 = cluster3, cluster4

    Did you mean something like this?

    Get-data center | %{

    New-Variable - Name $_. Name - value ([string]: join ("," (Get-Cluster-location $_ | % {$_.}))) Name})))

    }

  • Create a script to list all the .bat and .cmd files with the dir command &

    Hello

    Im trying to create a script that will list all the .bat and .cmd files in a specific folder and add the data to a new file (file.txt) - example below:

    dir c:\>desktop\file.txt/OD
    dir d:\>>desktop\file.txt
    dir f:\jobs\*.bat>>desktop\file.txt/OD

    IM able to search the F drive and the list of all the .bat files using a generic parameter, but ideally id like to search for .bat and .cmd files, but whenever I have it try does not work. Any ideas?

    I tried the following:

    dir c:\>desktop\file.txt/OD
    dir d:\>>desktop\file.txt
    dir f:\jobs\*.bat,*.cmd>>desktop\file.txt/OD

    Any help is appreciated, the reason for which I need to check all the .bat and .cmd files is to ensure that the scripts on a cluster are all data, so need them all listed in a doc if possible

    Thank you

    Hello

    Thank you for visiting the Microsoft answers community site. Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for guys official script Forum. Please ask your question in the official Scripting Guys Forum.

    http://social.technet.Microsoft.com/forums/en-us/iTCG/threads

  • How to create a script for the calculation of the VO2max using text on a pdf form field values.

    I'm trying to create a script that calculates the VO2max based on user input in several text fields.

    My form is set up so that the user can enter values in the 4 fields of text:

    1 weight = weight in kilograms

    2. age = age in years

    3 time = time to walk 1 mile in decimal

    4. the heart rate (HR) = heart rate recovery immediately after you have finished walking 1 mile

    The VO2max equation that I use is:

    VO2max = 132.853 - (0.1692 * weight)-(0.3877 * Age) + (6,315) - (3.2649 * time)-(0.1565 * HR)

    After the user enters values in 4 text fields, I want the text of VO2max field automatically calculate the above equation and display the result to the user so that the user doesn't have to get all those numbers into a calculator.

    Any suggestions on how to write the script?

    Assuming that your domain names are what you entered in the formula, you can use the simplified field notation:

    132.853 - (0.1692 * weight)-(0.3877 * Age) + (6,315) - (3.2649 * time)-(0.1565 * HR)

    If you want the value to display only after al the data fields are complete you need to use a JavaScript calculation:

    function GetField (cName) {}
    oField var = this.getField (cName);
    if(oField == null) app.alert ("field of error for access to the" cName + "\nPlease verify the name of the field.", 1, 0 ");
    return oField;
    }

    var weight = GetField ("Weight");
    var Age is GetField ("Age");.
    var time = GetField ("Time");
    var h = GetField ("HR");

    Event.Value = "";
    If (Weight.value! = 0 & Age.value! = 0 & Time.value! = 0 & HR.value! = 0) {}
    Event.Value = 132.853 - (0.1692 * Weight.value)-(0.3877 * Age.value) + (6,315) - (3.2649 * Time.value)-(0.1565 * HR.value);
    }

  • How to create a script for the name of the channel to take and insert text on profile in CS5

    I am a silkscreen and I print my Photoshop starts. I regularly work with multi channel files or RGB files with additional color channels. I created actions to place check marks, resize images, etc. to be ready to print manually but I create for each display text labels, if they are absent from the original work.


    The files I work with have named pipes as "basic white, red, green, blue 284" etc. which indicates the color of the ink. I want to be able to do is create a script that copies the text of the channel name and insert it into a separate or each/all channels to the top of the file, so that when I print every positive there is a label corresponding to the color of the ink.


    I don't know if this is even possible, and I am limited in my knowledge when it comes stock and no experience with scripting and have had pretty good luck in the past for actions to do what I want without unnecessary steps.


    On my target action registration, it creates a new channel with each individual reg mark then combined in a separate channel in which I just copy the contents and select all channels of ink and fill with black to make them appear, I am happy with the steps that must be that it is not too complicated and if it could do the same with labels I would be happy with that.


    Thanks in advance!

    Something like that?

    // the color used for the text
    var black = new SolidColor();
    black.rgb.hexValue = '000000';
    // set this to space the labels
    var horizontalOffest = new UnitValue(20,'pt');
    var doc = app.activeDocument;
    var currentLayer = doc.activeLayer;
    var textLayer = doc.artLayers.add();
    textLayer.kind = LayerKind.TEXT;
    // font requires the postscript name of the font
    textLayer.font = "ArialMT";
    textLayer.textItem.size = new UnitValue(9,'pt');
    textLayer.textItem.justification = Justification.RIGHT;
    // set the position for the text. this sets to top right corner of the channel
    // here it is set so the text baseline ends  40pts from the right edge, 15pts down
    textLayer.textItem.position = [new UnitValue(doc.width.as('pt')-50,'pt'),new UnitValue(15,'pt')];
    textLayer.textItem.contents = 'label';// temp label string
    
    for(var channelIndex = 0; channelIndex		   
  • How to create your default desktop for all / some users?

    Using Vista business I want to create a desktop computer by default for all users. How can I do this?

    I have a machine that has a dozen accounts. Can I retroactively apply this desktop computer to some existing accounts?

    Thanks for thehlp

    Joe

    Discussions on the topic "Change the profile by default in Vista"
    http://social.technet.Microsoft.com/forums/en-us/itprovistasetup/thread/62ed66ad-71cd-43C3-83c0-5303d77176b8/
    by Heather

    "How to make a standard profile w / user by default.
    http://forums.techarena.in/Vista-Help/1065679.htm
    by Darrell Gorter [MSFT]

    How to create the default profile for Vista
    http://help.Lockergnome.com/Vista/create-Vista-default-profile--ftopict15825.html
    Darell Gorter mentioned here only taken methods supported to change the default user profile:
    "How to customize the local default user profile when you prepare a
    image of Windows Vista, Windows Server 2008, Windows XP, or Windows Server 2003"
    http://support.Microsoft.com/default.aspx?scid=KB; EN-US; 959753
    but when you go on the link says the Tip system is not for Vista, on Windows Vista title is missing.

    I hope I could help

  • How to create a script that selects a random sample?

    My idea is... instead of using mathematics to create a random number rgb I want to choose a specific color to hex or RGB and assign a number from 1 to 10 then use random() to choose a random number between 1 and 10 to choose one of these colors and place as foreground color. I don't know enough JavaScript to create this script. Thank you

    Does that help?

    2014, use it at your own risk.

    #target photoshop - 70.032

    set up colors.

    var theArray =]

    [0,0,0],

    [255,0,0],

    [0,255,0],

    [0,0,255],

    [255,255,255],

    ];

    Select the color;

    var thisColor = theArray [Math.floor (Math.random () * (theArray.length))];

    do forground color.

    var theColor = new SolidColor();

    theColor.rgb.red = thisColor [0];

    theColor.rgb.green = thisColor [1];

    theColor.rgb.blue = thisColor [2];

    app.foregroundColor = theColor;

  • How to create the ellipse path gradient to PDF using object code

    Hello

    Someone tell me how to create PathGradient ellipse in pdf.i found the way to shadow Rectangle in pathgradient, but the ellipse can't shadow as pathgradient, if you know tell me please,

    Kind regards

    Sasi kumar S.

    Please refer to How to create LInearGradient in pdf format for why this isn't the right forum. Thank you.

  • How to create a form which automatically erases the information entered to be empty after use? Thank you!

    When information is entered into a form to fill out, how prevent it to be saved for the next person using the form begins with a Virgin? I don't want the info on the saved form. The form will reside on our server/player within our company in PDF fillable. Thanks in advance for your help.

    You can embed a script in the file that resets all the fields of the form in him when he is open.

    Do that in Acrobat go to tools - JavaScript - Document JavaScripts and create a new item with this code:

    this.resetForm ();

  • How to create a value to select all the dashboard command prompt values

    Dear Sir/Madam,
    OBIEE version is 10g.
    I create a dashboard promt to act as a filter option. It includes all the values in the target column. I wonder how to add value to this prompt to select all of the values in this column?

    For example:
    Table has a column 'product '. Total of 3 values in this column: "product produced b","", "product c '. When I create a dashboard command prompt to include all the choice of 'product '.
    Show sql result: I press "select A product".
    Ok. This message now includes "product produced b","", "product c ' fall down meun. But the problem also. If the user wants to choose all the values in this column? How he/she can do that? I would also add a value 'All products' to include ' product produced b "," "," product c "drop menu drop-down. If the user choose this option. Displays all the results of the product?
    Thank you.

    June wrote:
    I'm sorry that I have no idea about this idea.
    Do you mean the dash prompt has a functional to the list of the values of all options as check boxes? Please would you give me a simple example if you are convenient?
    Thanks anyway.

    When you create the dashboard, as David T say, simply leave the values at all rather than send the SQL query. This will give you the list of all values for the prompt. When the user wants to run the report with all values, it will need check all the boxes in the list, to get the report with all products.

    Kind regards
    -Laurence.

  • How to create a default profile for all users of a computer under Windows 7/Vista for Firefox versions greater than 8? I would that all new users on a computer to get the same values by default, homepage, bookmarks, etc...

    I found some help on older versions of Firefox, but I can't seem to find anything for the latest versions greater than 8. There must be a way to do this for imaging large scale.

    Have you created a defaults\profile in the folder of the program Firefox (C:\Program Files\Mozilla Firefox\)?

    All files in this folder will be moved into each newly created profile folder.

    To give the prefs a default, it is best to do this via a mozilla.cfg file.

    Use a mozilla.cfg file in the Firefox program folder to lock the prefs or specify default values.

    Place a local file - settings.js in the defaults\pref folder where you will also find the channel - prefs.js to specify using mozilla.cfg file.

    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    

    See:

    You can use these functions in mozilla.cfg:

    defaultPref();  // set new default value
    pref();         // set pref, but allow changes in current session
    lockPref();     // lock pref, disallow changes
    
  • How to create a checkbox which will result in text being hidden or visible?

    I have created a PDF form and have a section where a reference must be entered.

    My problem is that the references are each several long lines that so I can't use a drop down for the user to select.

    To combat this, I want to have 3 checkboxes, each which relate to a specific reference. When the check box is selected, the reference will be displayed.

    If the box is unchecked the reference will be hidden.

    Any help or ideas to solve this problem would be appreciated.

    Thus, thought about it all now. Glad to see that this shit is so useful!

Maybe you are looking for