Answer the question
In order to leave comments, you need to log in
How to re-index a linked table?
How to re-index a linked table?
I have table A and it is related to table B many-to-many, how is re-indexing done in this case?
Thought like this:
ALTER TABLE A ADD COLUMN id2 int unsigned not null;
SET @a:=0;
UPDATE A SET [email protected]:[email protected]+;
ALTER TABLE A DROP id;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question