what are the forced views
Answers were Sorted based on User's Feedback
Answer / kalyan kumar
We can create a view with out table is known as forced view
Is This Answer Correct ? | 36 Yes | 2 No |
Answer / devendar
A view can be created even if the defining query of the
view cannot be executed, as long as the CREATE VIEW command
has no syntax errors. We call such a view a view with
errors. For example, if a view refers to a non-existent
table or an invalid column of an existing table, or if the
owner of the view does not have the required privileges,
then the view can still be created and entered into the
data dictionary.
You can only create a view with errors by using the FORCE
option of the CREATE VIEW command:
CREATE FORCE VIEW AS ...;
When a view is created with errors, Oracle returns a
message and leaves the status of the view as INVALID. If
conditions later change so that the query of an invalid
view can be executed, then the view can be recompiled and
become valid. Oracle dynamically compiles the invalid view
if you attempt to use it.
Is This Answer Correct ? | 15 Yes | 0 No |
Answer / venkat
forced view a view which we can create regardless of Table
,for this status is view created with comilation errors
Is This Answer Correct ? | 16 Yes | 3 No |
Answer / lakshmi
creates a view whether or not base table exists
Is This Answer Correct ? | 16 Yes | 3 No |
Answer / sunny
Without creating a table we can create a view by using forced view.
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / manoranjan sethy
You can create a view without taking the assistance of base table but base table signature must be required while creating of force view.
Is This Answer Correct ? | 0 Yes | 2 No |
How to make a copy values from one column to another in sql?
I have following column in the table. col1 1 a b c 2 3 d and I want to display it as num chars 1 a 2 b 3 c 4 d numbers in one column and letters in another column.
Define commit, rollback and savepoint?
Can a table contain multiple primary key’s?
What is a heap in sql?
How does a self join work?
what is acid property in database? : Sql dba
What are different functions in sql?
What is minus?
Name the different types of indexes in sql and define them.
What are triggers, and when would you use them?
How do I turn a list into a table?