Dear Mr.Kin Ng,
If you would like to create a database using SAP HANA Cloud Platform Cockpit, you should do the following:
1- you should have an account on for cloud platform by using this link https://account.hanatrial.ondemand.com for free account
or this link https://account.hana.ondemand.com for production usage
2- then after you log on, you should go to HANA Instances and then create a new instance.
3- after creating SAP HANA instance, you will see something called "Development Tools" and beside it there is a "SAP HANA Web-based Development Workbench". please press on that link.
4- you will get something like this:
5- now you need to create your own sub-package by doing right click on the package that named like your created instance and name the sub-package like "workshop1"
6- then right click on "workshop1" and select create Application and then do the following:
7- then right click on the "workshop1" and select create package and name it as "data"
8- the right click on the "data" package and select create file and name it as "MYSCHEMA.hdbschema"
9- open the created file and type the following:
for example:
schema_name="MYSCHEMA";
10- the right click on the "data" package and select create file and name it as "table.hdbtable"
11- open the created file and type the following:
for example:
table.schemaName = "MYSCHEMA";
table.tableType = COLUMNSTORE ;
table.description = "my first table";
table.columns = [
{name = "orderID" ;sqlType = NVARCHAR ;nullable = false ;length = 10 ;},
{name = "OrderItem" ;sqlType = NVARCHAR ;nullable = false ;length = 10 ;},
{name = "ProductId" ;sqlType = NVARCHAR ;nullable = false ;length = 10 ;},
{name = "Quantity" ;sqlType = NVARCHAR ;nullable = false ;length = 5 ;},
{name = "QuantityUnit" ;sqlType = NVARCHAR ;nullable = false ;length = 5;}
];
table.primaryKey.pkcolumns = ["orderID"];
best regards,
Murhaf Khaled