Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • exp syntax in oracle 10g Oracle
  • Paste command syntax Linux/Unix
  • plan10g.sql good Oracle
  • Updated LCK.SQL file. Oracle
  • sqlnet.ora paramters Oracle
  • chk_space_SID.ksh Linux/Unix
  • Giving Grant on v$DATABASE Oracle
  • Histogram information Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • Finding locked objects Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • good note for shared pool tunnig 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

  • Handling LOB data in Oracle Oracle
  • Multiple listeners Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • Absolute file number and relative file number Oracle
  • VIvek Encryption Package and Its Usage Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • sqlnet.ora paramters Oracle
  • Good RAC & Standby Notes Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • USE_NL and INDEX hints example Oracle
  • note id 373303.1 Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme