RegProctor
asked on
MySQL move data to another field
I had several people doing data entry and one person put data in the wrong field. A field that should be empty for now.
Is there an SQL statement that I could use to transfer all data from one field to another within the same row for all rows in a table.
Basically I want to do something like this:
Field1 = Field1 + ' ' + Field2
Field2 = ''
Repeat for every row in table.
Is there an SQL statement that I could use to transfer all data from one field to another within the same row for all rows in a table.
Basically I want to do something like this:
Field1 = Field1 + ' ' + Field2
Field2 = ''
Repeat for every row in table.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.