Help Center/ Distributed Database Middleware/ FAQs/ DDM Usage/ What Should I Do If an Error Message Is Returned When I Specify an Auto-Increment Primary Key During Migration?
Updated on 2022-09-16 GMT+08:00
What Should I Do If an Error Message Is Returned When I Specify an Auto-Increment Primary Key During Migration?
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 Database name.SEQ name START WITH New start value
Parent topic: DDM Usage
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.