Answer Posted / pavan_1981
view is one type of database object which doesnt store any
data but fetches its data from the tables on which the view
is built.views can be of two types.one complex and other
simple.depending on type of te view different perations are
allowed on the views.
advatages:
1.views are secure because we can fetch the data from
different tables and present it to the user with cloumn
alias's so tha user wont know the actual column names or
table names.
2.instead of writing a huge join query which u most
frequently use everytime and executing it, we can create a
view using that query and just say for example "select *
from view".this inturn fetches the data u want from the
tables meeting ur requirements.
3.u can grant privilages to the user on the views instead
of giving privilages on the actual tables.this sometimes
help in security.
these are just few advantages to bgin with.still more exist.
| Is This Answer Correct ? | 19 Yes | 0 No |
Post New Answer View All Answers
How to add a new column to an existing table with a default value?
What is the string concatenation operator in oracle?
What is the difference between truncate & delete command?
What is the relationship among database, tablespace and data file?
How to define a sub function?
Explain enable novalidate constraint.
Explain the use of indexes option in imp command.
How to define an anonymous procedure without variables?
What is a named program unit?
What is the purpose of tables, private synonyms and public synonyms in Oracle?
In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.
What is oracle and what are its different editions?
Can we use bind variables in oracle stored procedure?
What is system global area (sga) in oracle?
How do I reset a sequence in oracle?