Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Problem granting privilege to a schema

$
0
0

Hello everybody.

 

I have saw the tutorial videos about granting privileges to a schema and I understand the Hana concept of schema ownership. I've created a schema using a .schema file and grant 'SELECT' privilege to it using "_SYS_REPO.GRANT_SCHEMA_PRIVILEGE_ON_ACTIVATED_CONTENT" procedure.

My issue occur when I create a schema directly in the SQL Console with the query "CREATE SCHEMA <schema> OWNED BY <user>" .

I can't grant privileges to this schema. I really don't know why.

When I try to use the procedure mentioned before to grant privilege, I see this error message:

 

"SAP DBTech JDBC: [258]: insufficient privilege: Can only grant privileges for content schemas."

 

Any help will be very appreciated.

Thanks in advance!


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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