Do view contain data?
Answers were Sorted based on User's Feedback
Answer / sreekanth
No, View is a logical table associated with a query.
It will not store any data in it.
Only the query with which the view is created is stored in
the database.
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / sekhar
Absolutely, the view contain no data. The basic property of
a view is to extract a set of data columns to display from a
large number. And this is useful in future by jst stating
the view name instead writing the select statement every time.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / gvmahesh
NO,the view is a logical table based on one or more tables
or views.A view in practicality contains no data by
itself.it contains only select statements.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shail
Hold on!!!!
All the above answers are absolutely true but remember the
fact that if you delete or update any view data then it
will be reflected in the base table.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ram
hold on..
all above are correct
incase of simple view dml operations are allowed
(simple view mean view creates based on one table)
incase of complex view dml operrations not allowd
(complex view create based on more than 1 table)
one more thing is in oracle
materialized view maintain physical copy of data
(dml operations on base tables not reflect on materialized view)
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / suresh
View is a stored select statement,it does not contain any data,and it is a logical table just for the viewing purpose
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between clustered and non-clustered index in sql?
How does left join work in sql?
What is data abstraction in sql?
What is difference between sql and excel?
select * from emp where sal in(select max(sal) from emp) here there is any limit for in operator how many values accpect ?
What are sql procedures?
Why cross join is used?
What is pivot query?
What is a common use of group by in sql?
Is sql difficult?
what is the difference between a web-garden and a web-farm? : Sql dba
How can I make sql query run faster?
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)