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

Re: One sequence for several tables

$
0
0

Hi Wolfgang,

 

would've saved some back and forth if you had mentioned what you had tried already...

 

Anyhow, specifying a predefined and shared sequence is not possible for the IDENTITY column.

Besides the additional dependency between two tables introduced by this (which might be cumbersome for maintenance ... e.g. think of the a possible RESET BY clause that now needs to span multiple tables to find the next possible value), it simply doesn't work with the way the IDENTITY column feature is implemented in SAP HANA.

 

The partner solution will likely need to be adapted as they are using a DBMS specific feature (also see Comparison of different SQL implementations on that).

 

- Lars


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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