Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying from one table to another

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello, Pardon my lack of knowledge on MySQL. I'm quite the newbie.

I have two tables set up that I'm dealing with right now. one is the main information table, and one is a table that I set up from a filemaker export. The tables have some similar information, most notably the zip code which I want to use as a key.

Basically I want to find a record in the export table, and then take the info from one row and insert it into the row in the other table that correspond to the same zip code.

Is this possible?
 
Hiya,

It certainly is possible, I think (from my limited knowledge of MySQL) that the command you need is replace.

I am afraid that I am not familiar enough with MySQL to give you the exact syntax, but perhaps if you search FAQ's for REPLACE, you may strike lucky.

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top