What are the advantages of VIEW?

Answer Posted / vinay dixit

please find the advantages as given below :-

a) data security - no need to give permission on the table,
infact a view can be created, having only selected number
of coloums in its definition. So user will only be able to
see those coloums.

b) simplicity - a very complicated query can be saved as a
view defenition. when needed can be called by its view name.

c) removes dependency - Can be very helpful to remove the
dependecny from the underlying tables. Suppose a view is
created by joining several tables. After some time, there
are some changes on the tables, so only defenition of view
can be changed and there is no need to change all the code
where view is used.

d) No space - takes no space ( except materialized view )

Is This Answer Correct ?    61 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is user defined functions?

555


what is the difference between $message and $$message? : Sql dba

522


what is the difference between where clause and having clause? : Sql dba

513


what is the difference between join and union? : Sql dba

527


What are the types of index in sql?

512






What is pl/sql language case sensitive?

606


What is the maximum number of columns in sql table?

526


Is nosql faster than sql?

515


what is subquery? : Sql dba

551


How do I write a sql query in pgadmin 4?

531


Name the operator which is used in the query for pattern matching?

485


What information is needed to connect sql*plus an oracle server?

563


What is a full join?

503


What is compiled query?

496


What is trigger in sql and its types?

511