Oracle Analytic Views
Version 12.1.0.2

General Information
Library Note Morgan's Library Page Header
The Library is currently in the process of being upgraded from Oracle Database Version 12.1.0.2 to 12.2.0.1. Demos are being upgraded to reflect the new Container paradigm as well as EBR (Edition Based Redefinition) and may contain references to CDBs, PDBs, and other objects you may not be familiar with such as CDB_OBJECTS_AE: Welcome to 12c.

Have you viewed the Library's main Table of Contents? If not ... [Click Here] ... scroll down the page and you will find links to the largest collection of Oracle Database demos on the net.
Purpose A view is a logical entity: A SQL statement stored in the database in the system tablespace. Data for a view is built in a table created by the database engine in the TEMP tablespace.
Dependencies
ALL_ANALYTIC_VIEW_COLUMNS DBA_ANALYTIC_VIEW_COLUMNS USER_ANALYTIC_VIEW_COLUMNS
CDB_ANALYTIC_VIEW_COLUMNS DBMS_HIERARCHY  
System Privileges
ALTER ANY ANALYTIC VIEW CREATE ANY ATTRIBUTE DIMENSION DROP ANY ANALYTIC VIEW
ALTER ANY ATTRIBUTE DIMENSION CREATE ANY HIERARCHY DROP ANY ATTRIBUTE DIMENSION
ALTER ANY HIERARCHY CREATE ATTRIBUTE DIMENSION DROP ANY HIERARCHY
CREATE ANALYTIC VIEW CREATE HIERARCHY SELECT ANY TABLE
CREATE ANY ANALYTIC VIEW    
 
Create Analytic View
??? CREATE OR REPLACE ANALYTIC VIEW <view_name> AS
SELECT <column_name>
FROM <table_name>
conn sys@pdbdev as sysdba

GRANT create analytic view TO uwclass;

conn uwclass/uwclass@pdbdev
   
   
 
Force View
???  
 
 
Parameterized View
???  
 
   
 
Alter Analytic View
Recompile an invalid view  
 
 
Commenting Views and View Columns
   
 
   
 
 
Drop Analytic View
   
 

Related Topics
Built-in Functions
Built-in Packages
Editioning Views
In-Line View
Materialized View
Object Views
Views
XML Views
What's New In 12cR1
What's New In 12cR2

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2017 Daniel A. Morgan All Rights Reserved