what are views?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / annu rajput
View is a logical subset of the data.
it is not a physical storage for the data
it hides the logic through base table created.
it restrict the access to the data.
even it can make data readable.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / akn
If we have several tables in a DB and we want to view only
specific columns from specific tables we can go for
views.It would also suffice the needs of security sometimes
allowing specific users to see only specific columns based
on the permission that we can configure on the view. Views
also reduce the effort that is required for writing queries
to access specific columns every time
Is This Answer Correct ? | 6 Yes | 5 No |
Answer / raj dhar
View is a vertual table and it does not occupy the space.
And the types of views are:-
1)Simple View
2)Complex View
3)Force View
4)Inline View
5)Read Only View
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / amadur
If we have several tables in a DB and we want to view only
specific columns from specific tables we can go for
views.It would also suffice the needs of security sometimes
allowing specific users to see only specific columns based
on the permission that we can configure on the view. Views
also reduce the effort that is required for writing queries
to access specific columns every time
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sudipta
It is a database object that is based on a select statement
against one or more tables or other view in the database.A
regular view dose not store any data in the database only
the definition is stored.views are also known as stored
queries.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / harsha vardhan reddy
1.It is a LOGICAL and VIRTUAL object.
2.It is stored select statement.
3.It allows DESCRIBE,DML,SELECT on it.
4.It will not hold data in it.
5.It supports to share "selected rows and columns with
other user"
6.It provides security while sharing.
regards,
harsha518@gmail.com
harsha.vardhan@cmcltd.com
Is This Answer Correct ? | 1 Yes | 3 No |
Point the difference between translate and replace?
What happens if you use a wrong connect identifier?
Explain rename?
How to pass parameters to procedures?
diff between DELETE and TRUNCATE?.
14 Answers HCL, Yalamanchili Software,
what is difference between DBMS and RDBMS?
How to find 1st, 2nd, 3rd highest using select select statement not using rownum
What is analyze command used for?
What are the logical operations?
when a grant option is encountered for a table EMP to a peer sitting beside you who has already having the table of that name (EMP), then what is the result?
How to make a Data Backup in oracle ? What is the procedure for creating the dump files in oracle ( any version ) ?
How to rebuild an index in oracle?