Phone (800) 766-1884 for immediate Oracle support & training
Free Oracle Tips

Home Home
Oracle Monitoring
Growth Monitoring
Emergency DBA Support
Installs & Upgrades
Oracle Migration
Oracle Support Plan
Oracle SQL Tuning
Oracle Performance Tuning

 Our Remote DBA Clients

 

Free Oracle Tips


 
HTML Text

Free Oracle App Server Tips


 
HTML Text

 

   
  Oracle Tips by Burleson

Chapter 7 Oracle Storage and Object Internal Scripting  

                           constraint_name,
   decode(constraint_type,'P','Primary Key',
                     'R','Foreign Key',
                     'U','Unique',
                     'C','Check',
                     'D','Default'),
                           search_condition,
                           table_name,
                           r_owner,
                           r_constraint_name,
                           delete_rule
     from user_constraints
     SEE CODE DEPOT FOR FULL SCRIPT
     order by owner;
 
     cursor cons_col (cons_name in varchar2) is
      select
               owner,
               constraint_name,
            column_name
     from user_cons_columns
     SEE CODE DEPOT FOR FULL SCRIPT
     order by owner, constraint_name,
                           position;
 
      cursor get_cons (tab_nam in varchar2) is
      select distinct
            OWNER,TABLE_NAME,CONSTRAINT_NAME,CONSTRAINT_TYPE
      from cons_temp
      SEE CODE DEPOT FOR FULL SCRIPT


The above is from the bestselling book Mike Ault’s Oracle Internals Monitoring & Tuning Scripts
It's only $49.95and you can download all the scripts immediately:
 


    Need an Oracle Health Check?

Does your boss blame you for an Oracle performance problem? 
Need to prove that your database is properly optimized?

BC Oracle performance guru's can quickly verify every aspect of your Oracle database and provide a complete certification that your database is fully optimized.

 

 



 

Burleson Oracle consulting & training



 

 

WISE Oracle monitoring software
 

 

Oracle forum for DBA 

 

Rampant TechPress Oracle book publisher

image 

  

 

E-mail us for BC Oracle support:   

Copyright © 1996 -  2012 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.