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 left outer join and left join?
In a table i have columns A,B,C and i have a composite index on columns A,B if so will the following query uses index or not? SELECT sal,name FROM <table_name> WHERE A=<value> AND B=<value> AND C=<value>;
What is a table?
What are the different types of tables in sql?
difference between table level constraint and column level and advantages of table level constraint
How can one get sql*loader to commit only at the end of the load file? : aql loader
write a query to display diference between two dates in sql server
What are string functions in sql?
What is the difference between sql/pl-sql/embeded sql?
What is the purpose of primary key?
How many times can we commit in a loop?
What does cursor do in sql?
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)