Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3510

Re: Checking Analytic Privileges on Objects in HANA SQL

$
0
0

Hi James,

 

You can use the GRANTED_PRIVILEGES system view. The following SQL should give you what you need if you substitute <CALC VIEW> for the calculation view you want to check privileges on.

 

 

SELECT GRANTEE

FROM GRANTED_PRIVILEGES

WHERE OBJECT_TYPE = 'ANALYTICALPRIVILEGE'

AND OBJECT_NAME = '<CALC VIEW>'

 

 

Regards,

 

Gary


Viewing all articles
Browse latest Browse all 3510

Trending Articles



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