Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Optimizer SORT Operations Oracle
  • Unix command for system configuration Linux/Unix
  • To see how much time or progress of long transaction Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • To find explain plan for a statement that occurred in past. Oracle
  • Running select from V$ views from remote server Linux/Unix
  • To check whether standby is recovering properly or not?? Oracle
  • chk_space_SID.ksh Linux/Unix
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Remove duplicate rows from table Oracle
  • create PLAN_TABLE command. Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • compile_inv.sql Oracle
  • shr1.sql for MTS or Shared server configuration Oracle

Find Multiple levels of object dependencies : depen.sql

Posted on 21-Apr-2006 By Admin No Comments on Find Multiple levels of object dependencies : depen.sql

set echo off

set head off

set lines 130

set verify off

accept v_owner prompt ‘Enter Owner Name : ‘

accept v_name prompt ‘Enter Object Name : ‘

accept v_type prompt ‘Enter Object Type : ‘

prompt Dependency tree for OWNER : &v_owner, OBJECT_NAME : &v_name OBJECT_TYPE : &v_type

prompt ==========================================================================================

SELECT rpad (rpad(‘*’, LEVEL*2, ‘ ‘) || rpad( owner||’.’||name, 60, ‘ ‘), 80, ‘ ‘) || ‘-‘ || type

FROM dba_dependencies

START WITH referenced_owner = upper(‘&v_owner’)

and referenced_name = upper(‘&v_name’)

and referenced_type = upper(‘&v_type’)

CONNECT BY PRIOR owner = referenced_owner

and prior name = referenced_name

and prior type= referenced_type;

set echo on

set head on

set verify on

Oracle, SQL scripts

Post navigation

Previous Post: SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql
Next Post: Parallel DML

Related Posts

  • Find nth max and min. Oracle
  • Wait.sql Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • switchover for primary database Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Oracle Support Metalink ID 161818.1 Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • DB Console Mainenance. Oracle
  • How to analyze statspack or AWR report. Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • SYSOPER Mystery Oracle
  • Implementation of key based authentications Linux/Unix
  • secure crt settings Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme