Hi community,
I'm looking for a way to create a view with an autoincremented column, starting at the max value of a column in another table.
As an example the TPC-DS view "item_view" has the same requirement.
CREATE VIEW item_view as
SELECT next value for item_seq i_item_sk
,item_item_id....
I tried item_seq.NEXTVAL , but it turns out that HANA doesn't support sequences in Views.
How can I solve this problem??
Thanks for your help!
Kind Regards
Demian