Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to add foreign key in hdbtable?

$
0
0

Hi Hriday,

 

foreign keys constraints can only be created directly on the runtime objects. The HANA repository does not support foreign keys yet.

As a workaround you can create the tables in the repository with .hdbtable of the CDS entities .hdbdd and then you can create foreign key constraints on the runtime objects with a stored procedure.

 

Regards,

Michael


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>