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 |
SELECT category, type, AVG(price) FROM products GROUP BY category, type ORDER BY 1, 2 If there are three distinct categories in the "products" table, and each one has five different types, how many rows are returned by the query above? 1. 1 row 2. 3 rows 3. 5 rows 4. 8 rows 5. 15 rows
What is mutating trigger?How to avoid it??
What is cursor explain with example?
What are the parts of a basic sql query?
Explain what is table in a database?
write sub query for eliminating duplicate rows using analytical function?
Is sql the best database?
What is use of trigger?
how would concatenate strings in mysql? : Sql dba
Is primary key clustered index?
How do I trace sql profiler?
What are the different types of joins and explain them briefly.
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)