Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Getting the SQL Script behind a Graphical Calculation View

$
0
0

Hi Rehan,

 

To get the JOIN conditions applied in a view, you can use the system view CS_JOIN_CONDITIONS.

It will also tell you the type of JOIN applied along with the tables/columns.

 

Here is a sample query:

 

SELECT VIEW_NAME, TABLE_NAME1, COLUMN_NAME1,TABLE_NAME2, COLUMN_NAME2, JOIN_TYPE

FROM CS_JOIN_CONDITIONS

WHERE VIEW_NAME = 'YOUR_VIEW_NAME'

 

Regards,

Varun


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>