import data from another table with same id
Posted
by Luca Romagnoli
on Stack Overflow
See other posts from Stack Overflow
or by Luca Romagnoli
Published on 2010-05-31T10:19:19Z
Indexed on
2010/05/31
10:22 UTC
Read the original article
Hit count: 228
Hi, i have 2 table
User (id, name, surname,cod)
UserNew (uid, uname, usurname, ucod)
The first table has data the second no.
I have to copy the data of the User table in the UserNew table.
I've tried with a insert query but uid (primary key) value changes.
How can i do to mantaince the same values?
thanks
© Stack Overflow or respective owner