在SAP WebIDE Database Explorer裡操作hdi例項

i042416發表於2020-02-28

在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例項


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2677581/,如需轉載,請註明出處,否則將追究法律責任。

相關文章