what are the forced views

Answers were Sorted based on User's Feedback



what are the forced views..

Answer / kalyan kumar

We can create a view with out table is known as forced view

Is This Answer Correct ?    36 Yes 2 No

what are the forced views..

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

what are the forced views..

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

what are the forced views..

Answer / lakshmi

creates a view whether or not base table exists

Is This Answer Correct ?    16 Yes 3 No

what are the forced views..

Answer / sunny

Without creating a table we can create a view by using forced view.

Is This Answer Correct ?    12 Yes 0 No

what are the forced views..

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

Post New Answer

More SQL PLSQL Interview Questions

How to make a copy values from one column to another in sql?

0 Answers  


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.

1 Answers   IBM, Saama Tech,


Define commit, rollback and savepoint?

0 Answers  


Can a table contain multiple primary key’s?

0 Answers  


What is a heap in sql?

0 Answers  






How does a self join work?

0 Answers  


what is acid property in database? : Sql dba

0 Answers  


What are different functions in sql?

0 Answers  


What is minus?

0 Answers  


Name the different types of indexes in sql and define them.

0 Answers  


What are triggers, and when would you use them?

3 Answers  


How do I turn a list into a table?

0 Answers  


Categories