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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you copy one field to another? 1

Status
Not open for further replies.

meeble3

Programmer
Nov 8, 2004
52
GB
Hello, I have a table with 3 fields - the unique identifier, name and rank. I have 500 records so far in the table.

I want to make a 4th field called rank2. Is it possible to copy all the data in the rank field over to the rank2 field in one command?

Thanks

 
Update table2 Set `rank2` = `rank`

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top