on 09-21-2016 7:06 PM
Hello
Could you please advise me what is the correct SQL syntax for granting of analytic privilege to user or role?
I was not able to found this anywhere.
Thanks
Hi Michal,
Refer to » SAP HANA Analytic Privilege -> Assign Analytic Privilege to a User.
Regards,
Ning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ning
I am aware of that post but it is describing only manual assignment via studio, which is not eligible in our case - many privileges in several databases.
I meant a granting via SQL, something like GRANT <analytic_privilege_name> TO <role_name> but i can't find a correct syntax for analytic privilege.
Regards
Hi Michal,
The doc you should refer to is HANA security guide, section 'Stored Procedures Used to Grant/Revoke Privileges on Activated Repository Objects'. Specifically:
CALL GRANT_ACTIVATED_ANALYTICAL_PRIVILEGE ('<analytic_privilege>','<user>'/'<role>');
CALL REVOKE_ACTIVATED_ANALYTICAL_PRIVILEGE ('<analytic_privilege>','<user>'/'<role>');
Kind regards,
Wen
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.