Note also that by doing this, your database will be denormalised. This may not be a big deal, however.
On Wednesday 03 April 2002 9:55 am, you wrote: > UPDATE mytable SET field1=field2; > > > -----Original Message----- > From: Chuck Barnett [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 03, 2002 10:10 AM > To: [EMAIL PROTECTED] > Subject: copying field x to field y for each record in table > > > Hi, how do I do the following: > > I have a table I have added a new field to, I want to take field X and copy > it to the new field for each record. What should this query look like? > > Thanks, > Chuck > > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> Trouble > unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php