Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I don't know why you would. But you can add another key field sequence or something like that
You need to change the primary key of the table to a surrogate key in sequence.
Then there will be no restrictions on entries.
INSERT INTO `tbl` (`col1`,`col2`...`colN`) SELECT `col1`,`col2`,...`colN` FROM `tbl` WHERE `code` = 123
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question