Welcome Guest, Not a member yet? Register   Sign In
Moving 1 database row to another Table
#2

[eluser]JHackamack[/eluser]
There is a MySQL command:

Code:
INSERT INTO smf_members (ID_MEMBER, memberName, emailAddress, passwd, dateRegistered, lastLogin ) SELECT id, name, email, password, creationtime, lastClickTime FROM classifieds_classifiedsuser WHERE COL1=COL1

Then you would do a separate delete command using your where clauses.


Messages In This Thread
Moving 1 database row to another Table - by El Forum - 01-20-2010, 09:51 PM
Moving 1 database row to another Table - by El Forum - 01-20-2010, 10:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB