Hi,
I'm new in SAP HANA and I can't find any information about how can I get an auto incremented field in HANA table.
What I'am looking for is something like this:
CREATE TABLE T (ID INTEGER NOT NULL AUTO_INCREMENT, ....);
In SAP HANA SQL reference there are no such keywords as AUTO_INCREMENT, SERIAL, IDENTITY etc.
For now the only reasonable way I can think of is using of sequence, but I'd like to avoid
another SQL request just to get next sequence value.
Please, tell me what is the best way to obtain next unique value for primary key field?
regards
Marcin Pancewicz