Monday, March 14, 2022

Notes: MariaDb Sequence

1. Create a sequence

CREATE SEQUENCE [Name of Sequence]


2. Get next sequence id

nextval([Name of Sequence])



Reference

https://mariadb.com/kb/en/create-sequence/

No comments:

Post a Comment