on ‎2011 Mar 02 4:39 PM
Hi Experts,
1.Difference between Table and View.
2.Difference between View and materialized view.
3.Is it possible to update the data using view.
Could you please any one help me..
Thanks&Regards
Ramesh
Request clarification before answering.
a) The database table has a physical existence in the database.
b) A view is a virtual table, that is one that does not actually exist. View is made up of a query on one or many tables in a database.
c) materialized view stores the results of the SQL in table form in the database. where as view stores the SQL.
SQL statement only executes once and after that everytime you run the query the stored result set is used. which improve the performence.
Updating the data using the view is not possible as view is depend on base table. You can perform DML on the view but not using the view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.