cancel
Showing results for 
Search instead for 
Did you mean: 

How to create/specify index for column with CDL?

bdeboer
Explorer

I would like to add some database indexes for certain columns in my datamodel. The datamodel is defined with CDL. Is there a way to do it using CDL?

If not, what would be the proper way to create indexes?

mario_guenter
Participant
0 Kudos

Hi! Did you manage in the meantime to handle or define indexes? BR Mario

lenastodal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mario - you can use the "I Have a Similar Question" feature in the question. By clicking the button, you will automatically upvote the question and follow it. In case there is updates on the question, you won't miss out. 🙂
Thanks!

bdeboer
Explorer
0 Kudos

Hi Mario. No, not yet. I'll post here if I ever come up with some solution.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

CDL doesn't support creation of DB indexes. They have to be added as native DB artifact. For HANA, this is described in https://cap.cloud.sap/docs/advanced/hana#create-native-sap-hana-object, for an index you would use a ".hdbindex" file.

Best regards, Steffen