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

Export schema with hdbsql gives privilage errors

$
0
0

Hi, I'd like to export whole schema via command line utility of HANA. Following is the command that I've used:

 

EXPORT "SCHEMA_NAME"."*" AS CSV INTO '/hana/exeini/H01/HDB00/work/baris' WITH REPLACE THREADS 20

 

Followings are the errors that I get according to user that've used.

 

SYSTEM user:

* 258: insufficient privilege: Can't export objects in schema SCHEMA_NAME. Can't export procedure SCHEMA_NAME.SN_CREATE_TABLE. user has no privilege on the underlying objects SQLSTATE: HY000

 

SCHEMA_NAME user i.e. who created the schema:

* 258: insufficient privilege: Can't export objects in schema SCHEMA_NAME. Can't export view SCHEMA_NAME._SYS_SS_CE_138467_TMP. user has no privilege on the underlying objects SQLSTATE: HY000

 

I checked security manual, and I verified that both user has EXPORT privilege under "System Privileges". Actually, under "System Privileges", both user have all the available privileges. What might be the reason? Thanks!


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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