Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to change objects owners in HANA

$
0
0

The owner of an object and the owner of the schema in which the object is located are the only users who can access the object and grant object privileges on it to other users.


So what I think is if you change the schema of objects your job is done.

 

Try with the import-export utility of HANA, it have the rename_schema option and will make your life easier.

IMPORT - SAP HANA SQL and System Views Reference - SAP Library


There is also the other option to do it programmatically.

You can do in the script with the dynamic SQL which would be to like create the object into the target schema and drop the object in Source schema.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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