Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Advantages of views over Sql Query..

DKhatiyanSep 15 2015 — edited Sep 17 2015

Hi All,

Currently a question was asked to me in an interview about Views that what are it's advantages, my reply was:

1. That it provides kind of encapsulation for table objects in case we want to share some data to some third party.

2. It hides all the complexity of data from programmer who actually want to retrieve data.

But interviewer says there are few more:

1. Like it gives better performance than query.

But didn't find any logic in accordance to this. Kindly help in clearing this confusion.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 15 2015
Added on Sep 15 2015
10 comments
2,014 views