在WebIDE里将SAP HANA Database Explorer启用:

在SAP WebIDE Database Explorer里操作hdi实例
在SAP WebIDE Database Explorer里操作hdi实例

打开database Explorer视图:

在SAP WebIDE Database Explorer里操作hdi实例
在SAP WebIDE Database Explorer里操作hdi实例

添加一个数据库:

在SAP WebIDE Database Explorer里操作hdi实例

数据库实例作为HDI容器被添加:

When the database was created for you in your trial subaccount, it was created as an HANA Deployment Infrastructure (HDI) container, within the context of the hdi-shared plan for the HANA trial service in the SAP Cloud Platform’s Cloud Foundry (CF) environment.

在SAP WebIDE Database Explorer里操作hdi实例
在SAP WebIDE Database Explorer里操作hdi实例

在Database Explorer里,双击Table,查看数据库表:

在SAP WebIDE Database Explorer里操作hdi实例
在SAP WebIDE Database Explorer里操作hdi实例

上图看到的数据库表MY_APP_PRODUCTS的结构,和CAP项目里db module里data-model.cds定义的结构一致:

在SAP WebIDE Database Explorer里操作hdi实例

这里可以给数据库表里添加新的记录:

在SAP WebIDE Database Explorer里操作hdi实例
在SAP WebIDE Database Explorer里操作hdi实例
在SAP WebIDE Database Explorer里操作hdi实例

然后使用OData将刚刚插入的数据取出:

在SAP WebIDE Database Explorer里操作hdi实例

也可以使用SQL语句,批量删除表里的数据:

在SAP WebIDE Database Explorer里操作hdi实例
在SAP WebIDE Database Explorer里操作hdi实例

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
在SAP WebIDE Database Explorer里操作hdi实例

相关文章:

  • 2022-01-11
  • 2022-12-23
  • 2021-07-30
  • 2021-07-22
  • 2021-09-08
  • 2022-01-24
猜你喜欢
  • 2021-05-19
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2021-07-06
  • 2022-01-31
相关资源
相似解决方案