Export Data from HANA Cloud to AWS S3

Create HANA DB Table and Inset data:

select current_schema from dummy;

-- Creating a table
CREATE COLUMN TABLE STUDENTS
(ID VARCHAR(10),
 S_NAME VARCHAR(30),
 S_DEPT VARCHAR(20)
 );
 
-- inserting data
 INSERT INTO STUDENTS VALUES('S001', 'Partha', 'SAP Functional') ;
 INSERT INTO STUDENTS VALUES('S002', 'John', 'SAP BTP Admin') ;
 INSERT INTO STUDENTS VALUES('S003', 'Mili', 'SAP App Dev') ;

Create AWS S3 Bucket

Add SSL Certificate (AWS) into HANA Cloud:

Now open the HANA DB Explorer SQL Console and use the below commands:

Export Data:

Verify the File and Data in AWS S3:

Alternative: SQL based Export:

Last updated