I've got 2 tables A and B, where the structure of B is a copy of A. I use B as a temporary table to hold data while importing and once I know that the entire import is successful, I want to append B to A. My command for doing the append is as follows
INSERT INTO A (two, three, four) SELECT two, three, four FROM B
A and B have another field, one, which is an auto-number
The append works fine, except that the 'one' values from B are also getting used for A. Does anyone know why A wouldn't be creating its own auto-number here given this syntax? It seems like this will lead to a duplicate values of 'one' in A.