What are the advantages of VIEW?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / anil_abbireddy
1. data security : complex view can not be modified ie.
base tables cannot be visible.
2. it provides easy way to query data from different data
sources like a single table
3.it is very usefull when developing complex reports basing
on multiple tables.
| Is This Answer Correct ? | 38 Yes | 4 No |
Answer / pnc
view is a logical presentation of one or more tables. It is
a virtual table. or A view is a data base object to register
the select statement permanently in the data base.
| Is This Answer Correct ? | 17 Yes | 6 No |
Answer / karunakarreddy.boyapally
1) it reduse the object size
2) hides the complexity of data
3) security purpose also
| Is This Answer Correct ? | 12 Yes | 3 No |
Answer / kapil syscom
View is simple structure as table in database, it dosen't take extra memory space, and reduces the structural complexity of database whenever we need to fetch the data from more than one table, thus it reduces the cost of joins every time.
Thus these is true that we have to use it for efficiency reasons..
| Is This Answer Correct ? | 5 Yes | 6 No |
i have a table like this. i want to output like this c1 c2 c1 c2 1 10 1 10 2 20 2 30 3 30 3 60 4 40 4 100 5 5 5 105 c1 and c2 are columns in a table .i want output like this c2 values are 10,10+20,10+20+30,10+20+30+40.10+20+30+40+5. write a sql query.pls help this i want urgent.
2 Answers IBM, Loginworks, OFSS,
how to create a database in oracle?please gve anser with example
What are all ddl commands?
what are date and time data types in mysql? : Sql dba
What is the difference between functions, procedures, and packages in pl/sql?
What does := mean in pl sql?
Is it possible to read/write files to-and-from PL/SQL?
What are sql data types?
What are the benefits of stored procedures?
How to assign sql query results to pl sql variables?
What is difference between procedure and trigger?
What is the sql query to display the current date?
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)