on 02-26-2014 2:53 PM
Hi all,
i started with the 30 day trial of SAP HANA from cloudshare.
What i want to do is performing some table operations with the help of SQLscript.
So i created a new user, a new schema and two tables with data.
But when i try to activate my procedure after commiting, i get the following error:
"
Error creating procedure;insufficient privilege: Not authorized at ptime/query/checker/query_check.cc:2225
"
I read all the HANA documentation, but could not find the right way to set all required privileges.
So here is my question:
What i need to do to be able to execute procedures on my tables?
Thanks very much for your help.
Regards
Adam
First i hope that you have already executed this statement:
GRANT SELECT ON SCHEMA <YOURSCHEMA> TO _SYS_REPO WITH GRANT OPTION
Then check if you are able to activate the procedure?
Are you creating a procedure from development perspective i.e using .hdbprocedure or from modeler perspective under catalog?
Regards,
Krishna Tangudu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok it finally works!
the USER_ADMIN privileges was an important point,
i just needed to understand additionally that you need to grant access on the tables and procedures, too. It was not enough just to grant access on the schema, the execution privilege was missing.
Thanks a lot for your help.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.