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

Can't import a schema from different HANA-Systems

$
0
0

Hello there.

 

I've a problem with HANA. I want to import a schema in our HANA. I can export it without problems, but import is impossible.

(SYSTEM A)

We've exportet with this command:

EXPORT "TEST_DB"."*" AS BINARY INTO '/usr/sap/NDB/HDB00/work/'

 

I tried:

(SYSTEM B)

- create a new schema with grant options before I tried to import:

create schema TEST_DB

grant select on schema TEST_DB to _SYS_REPO with grant option

 

- import with SQL-Command

IMPORT "TEST_DB"."*" AS BINARY FROM '/usr/sap/NDB/HDB00/work/' WITH REPLACE


I get following error message:

“Could not execute 'IMPORT "TEST_DB"."*" AS BINARY FROM '/usr/sap/NDB/HDB00/work/' WITH REPLACE'

SAP DBTech JDBC: [2]: general error: TEST_DB.TnbPsra_Los_An_Cd_Grp_Y not found in the import directory. Folder names could be modified by WinSCP transfer.“

 

After I created the schema with grant options I tried to import.

Do you know what I am doing wrong?

 

I have tried this several times, with zip/unzip too.

 

Hope you can help me.

 

Kindly

 

Patrick


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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