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 view used for security purposes?
What schema means?
How do you optimize a stored procedure in sql?
Does sql backup shrink transaction log?
What are the types of triggers in sql?
Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
what is a unique key ? : Sql dba
Can a view be mutating? If yes, then how?
What are the different types of dbmss?
What is the purpose of design view?
What is the difference between a database and a relational database?
4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case when mod (level,2)=0then 2 else null end dept_id from dual connect by level<6 )A right outer join (select level emp_id ,level*200 salary ,case when mod (level,3)=0 then 2 else null end dept_id from dual connect by level<6)B On A.dept_id=B.dept_id And A.emp_id=B.emp-id;
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)