Skip to Content
author's profile photo Former Member
Former Member

Export schema with hdbsql gives privilage errors

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!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 05, 2012 at 10:37 PM

    Any input would be appreciated since I still get this error.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.