what is difference between table and view? where to use views?
thanks in advance!



what is difference between table and view? where to use views? thanks in advance!..

Answer / shalini

A table is a collection of data in the form of rows and
columns.
Whereas a View is a virtual table in which data comes from
one or more base tables and is stored as a result of a
predefined query for further use.
Uses of Views:
1.used to improve performance as they are the results of
predefined/complex queries which can be used in other
queries.
2.To provide security by granting permissions to certain
group of people only on the views rather than all the
tables database .ie. hiding sensitive data.
3.To hide complexity of data by showing only the relevant
data need to show to a user rather than confusing a uaser
by showing all the information

Is This Answer Correct ?    11 Yes 0 No

Post New Answer

More Oracle General Interview Questions

select to_char('10','10') from dual This gives me an error oRA-1481 INVALID NUMBER FORMAT MODEL why? pls help

6 Answers  


Which Oracle App Is Most Popular One ?

3 Answers  


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

0 Answers  


Please explain oracle data types with examples?

0 Answers  


Query to retrieve record for a many to many relationship ?

0 Answers   Keane India Ltd,






Difference between join and a subquery?

8 Answers   Base Automation, NMDC,


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

0 Answers  


i want department wise maxmum salary and empolyee name

9 Answers  


What are the different types of failures that occur in Oracle database?

0 Answers   HCL,


For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?

0 Answers   Oracle,


List the parts of a database trigger.

0 Answers  


What do you understand by a database object?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)