I've probably not made myself clear. Some databases have SERIAL data type which automatically increments the value when a new row is being inserted. Others use explicit sequences to this purpose. In Hana, I don't see a way to achieve this directly, as a sequence is not accepted in column definition:
Could not execute 'create column table test( id bigint generated always as id_seq.nextval )' in 582 ms 338 µs . SAP DBTech JDBC: [458]: unsupported function included: sentiment_entity_id_seq.nextval is not supported by generated always
I haven't succeeded in defining a procedure that would call the nextval either, so is there a way to have a column table with a column that autoincrements after each INSERT?
-- Micha