Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
 

ss

Oracle Tips by Burleson 

Chapter 7 Oracle Storage and Object Internal Scripting  

COLUMN owner             FORMAT a8   HEADING 'Owner'
COLUMN dimension_name    FORMAT a10  HEADING 'Dimension|Name'
COLUMN column_name       FORMAT a10  HEADING 'Column|Name'
COLUMN hierarchy_name    FORMAT a10  HEADING 'Hierarchy|Name'
COLUMN parent_level_name FORMAT a10  HEADING 'Parent|Level'
COLUMN child_level_name  FORMAT a10  HEADING 'Child|Level'
COLUMN join_key_id       FORMAT a20 HEADING 'Join Key|ID'
 
BREAK ON owner ON dimension_name
SET PAGES 58 LINES 78 FEEDBACK OFF VERIFY OFF
ttitle 'Database Dimension Hierarchy Report'
SPOOL dim_hierarchies.lis
 
SELECT
   a.owner,
   a.dimension_name,
   b.hierarchy_name,
   c.parent_level_name,
   c.child_level_name,
   c.join_key_id
FROM
   dba_dimensions      a,
   dba_dim_hierarchies b,
   dba_dim_child_of    c
SEE CODE DEPOT FOR FULL SCRIPT



 

The Oracle script collection contains more than 600 working Oracle scripts.  You can download them immediately at this link:
 


 

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2016 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks