Jump to content

Transfer records between tables


eludlow

Recommended Posts

I've got a fairly big table that has a list of members of an organisation.  However, some of these records are out of date, and I'd like to move them all to another table of "lost" members that will have the same structure as the main table.

 

It's easy for me to make something that inserts the old date into the new table and then deletes the record from the original table, but curious if mySQL has a function that will do this automatically?  I can imagine it's a fairly common thing to want done....

 

Thanks,

Ed Ludlow

Link to comment
https://forums.phpfreaks.com/topic/68814-transfer-records-between-tables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.