cancel
Showing results for 
Search instead for 
Did you mean: 

insufficient privilege - while grant

missile04
Newcomer

Accepted Solutions (0)

Answers (1)

Answers (1)

Dinu
Active Contributor
0 Kudos

I assume you are trying to access a schema rom HDI container. You can find a tutorial for what you are trying to do.

You can refer to the troubleshooting section in tutorial for figure out what has gone wrong. Essentially it is the following statement. You can find an app for this in HANA DB Cockpit as well.

 call SYS.GET_INSUFFICIENT_PRIVILEGE_ERROR_DETAILS ('<GUID>', ?)

The issue is probably a missing grant or admin option to the role or user in the previous step.

CREATE ROLE CCROLE;
grant SELECT, UPDATE, INSERT, DELETE, EXECUTE, SELECT METADATA ON SCHEMA "PLAIN" TO CCROLE with grant option;
grant CCROLE to PLUSR with admin option;