Error when updating primary key #303
Answered
by
ujjwalguptaofficial
femto-code
asked this question in
Q&A
-
Hi, I need help with an update query on one of my tables:
I get this error - can someone explain what it means?
|
Beta Was this translation helpful? Give feedback.
Answered by
ujjwalguptaofficial
Nov 21, 2022
Replies: 1 comment 1 reply
-
This is because of primary key update. If you need to update primary key, then keep the primary key column as unique and use another column with autoincrement for primary key. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
femto-code
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is because of primary key update. If you need to update primary key, then keep the primary key column as unique and use another column with autoincrement for primary key.