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
What is user defined functions?
what is the difference between $message and $$message? : Sql dba
what is the difference between where clause and having clause? : Sql dba
what is the difference between join and union? : Sql dba
What are the types of index in sql?
What is pl/sql language case sensitive?
What is the maximum number of columns in sql table?
Is nosql faster than sql?
what is subquery? : Sql dba
How do I write a sql query in pgadmin 4?
Name the operator which is used in the query for pattern matching?
What information is needed to connect sql*plus an oracle server?
What is a full join?
What is compiled query?
What is trigger in sql and its types?