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

What is difference between db2 and sql?

0 Answers  


what is overloading procedure or overloading function ?

3 Answers   Genpact,


how to get a list of columns in an existing table? : Sql dba

0 Answers  


How delete all data from all tables in sql?

0 Answers  


Compare sql & pl/sql

0 Answers  






how to check server status with 'mysqladmin'? : Sql dba

0 Answers  


What is cursor in pl sql with examples?

0 Answers  


What is the difference between left outer join and left join?

0 Answers  


Which is better join or inner query?

0 Answers  


How do you concatenate in sql?

0 Answers  


What is Collation Sensitivity ? What are the various type ?

0 Answers  


suppose we have a table in which 200 rows. i want to find 101 row ? what the query.... and how we find 4th and 5th highest salary and 1 to 10 highest salary

7 Answers  


Categories