gaza165 Posted June 3, 2009 Share Posted June 3, 2009 Hello can someone tell me how i can transfer the first 20 records from a table into another table in my database the two tables are chat and chat_backup??? Quote Link to comment https://forums.phpfreaks.com/topic/160837-move-from-one-table-to-the-other/ Share on other sites More sharing options...
tombstone Posted June 3, 2009 Share Posted June 3, 2009 if the table structure is identical, and there aren't ids that would conflict. insert into chat_backup select * from chat Quote Link to comment https://forums.phpfreaks.com/topic/160837-move-from-one-table-to-the-other/#findComment-848831 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.