addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Have questions about MySQL

From: Michael K.
Sent on: Wednesday, December 19, 2012 8:02 PM
Hello all,

I have a few questions about MySQL queries. If you can help me, please reply.

In a nutshell, I am trying to overwrite my table with a temporary one. However, the PRIMARY KEY to be updated is different between the two tables (It has been modified when the table was copied, for a reason).

Can I do an INSERT INTO or a REPLACE INTO query with a PRIMARY KEY reference to be a specific field I pick, other than the one specified for either of the two tables?

More information at the MySQL forum at:,576325,576325

Thank you for your time. Please help!

Contact Me

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy