Help Center/ Distributed Database Middleware/ User Guide (Kuala Lumpur Region)/ FAQs/ DDM Usage/ What Should I Do If an Error Message Is Returned After I Specify an Auto-Increment Primary Key?
Updated on 2022-08-17 GMT+08:00

What Should I Do If an Error Message Is Returned After I Specify an Auto-Increment Primary Key?

Execute the following SQL statement to modify the start value of the auto-increment primary key so that the value is greater than the maximum value of primary keys in existing tables:

ALTER SEQUENCE Schema name.SEQ name START WITH New start value