Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

HANA Unused Sequence ID in case of Rollback

$
0
0

Dear All,

 

I am using a sequence ID to fill Primary Key. Let's say I performed INSERT with SeqID.NEXTVAL (e.g. it gave seq No 10) but later some other SQL statements failed I was forced to do rollback.

 

Next time when I am calling service SeqID.NEXTVAL gives me 11. How can I get 10?

 

Regards,

Ashwini


Viewing all articles
Browse latest Browse all 6412

Trending Articles