Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is the difference between CDS View & Database View at the execution level?

12,885

CDS Views got extra features like aggregate functions, union, view on view .,etc.

I got it, but at execution level, lets say I have joined 3 tables , no aggregate functions, no complex code.

What is the difference between creating cds view / se11 database view for above requirement?

1 REPLY 1
Read only

former_member1716
Active Contributor
7,370

zsai_varma

There are many other reasons why we choose CDS over Database views:

1) Database View only support Inner Joins where as CDS supports Inner Join, Outer Join, Union.

2) You can easily generate the ODATA services which will be further used for UI5 and FIORI elements.

3) Implicit Authorizations Checks are supported in CDS.

4) CDS functions on CODE push Down principle which gives them an edge.

Starting from latest version 7.4 SP05, Same SQL statements may yield same performance in both Dictionary view and CDS view but due to more flexibility in CDS views are preferred.

Regards!