What are the advantages of VIEW

Showing Answers 1 - 8 of 8 Answers

Mathivanan

  • Jul 16th, 2005
 

 
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.  
 

  Was this answer useful?  Yes

Shiv Mangal Rahi

  • Jul 24th, 2006
 

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.

  Was this answer useful?  Yes

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.

  Was this answer useful?  Yes

pratima

  • Dec 26th, 2006
 

Hi Rampratap,

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

Thanks

Pratima

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions