SQL Language (MOSC)

MOSC Banner

How to reference a table through a view

in SQL Language (MOSC) 2 commentsAnswered ✓

I'm using Oracle DB Version 19.

I have found the following which reduces invalidation.

https://docs.oracle.com/cd/B28359_01/server.111/b28318/dependencies.htm#CNCPT1867

Reference Each Table Through a View

Reference tables indirectly, using views. This enables you to do the following:

  • Add columns to the table without invalidating dependent views or dependent PL/SQL objects
  • Modify or delete columns not referenced by the view without invalidating dependent objects

The statement CREATE OR REPLACE VIEW does not invalidate an existing view or its dependents if the new ROWTYPE matches the old ROWTYPE.



My question is how do you reference a table through a view. I have searched for examples but I cannot find. Can somebody explain this to me?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center