GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  SQL Plus
Go To First  |  Previous Question  |  Next Question 
 SQL Plus  |  Question 30 of 132    Print  
What are the advantages of VIEW

  
Total Answers and Comments: 4 Last Update: December 26, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 16, 2005 01:02:03   #1  
Mathivanan        

RE: What are the advantages of VIEW

Views are useful for providing a horizontal or vertical subset of data from a table (possibly for security reasons) ; for hiding the complexity of a query; for ensuring that exactly the same SQL is used throughout your application; and in n-tier applications to retrieve supplementary information about an item from a related table.


 
Is this answer useful? Yes | No
July 24, 2006 06:05:49   #2  
Shiv Mangal Rahi        

RE: What are the advantages of VIEW

Hi All

The advantages of View are under below

1. It reduces the complexiety of Sql Quey.

2. For security purpose. As it doesnt allow you to know about the base tables.


 
Is this answer useful? Yes | No
December 07, 2006 08:18:41   #3  
rampratap409 Member Since: September 2006   Contribution: 111    

RE: What are the advantages of VIEW

The advantages of View are:

security: only selected column from a table made available to view.

Complaxity: write a complex query and assign this query to a view so next time no need to write that complex query.

Faster: view refers to a query which is already parsed so again it does not go to that stage

efficient: while writing trigger a condition may arise trigger makes the table in mutating state so use of views in this sanirio makes it easy.


 
Is this answer useful? Yes | No
December 26, 2006 07:06:19   #4  
pratima        

RE: What are the advantages of VIEW

Hi Rampratap

U r telling abt the efficiency of view @ mutating table concept. can u pls explain it with an example?

Thanks

Pratima


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape