RE: [PHP-DB] Update MD5 field
| From: | Beverly Steiner | Date: | Tue, 04 Mar 2003 15:31:30 +0000 |
| Subject: | RE: [PHP-DB] Update MD5 field | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26086@lists.php.net to get a copy of this message | ||
Daniela,
Why do you want to keep a calculated field inside your database?
----------------------
Beverly Steiner
steiner277@charter.net
-----Original Message-----
From: Dani Matielo [mailto:dmatielo@uol.com.br]
Sent: Monday, March 03, 2003 10:18 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Update MD5 field
Hello, everybody
my problem is the following: I just imported a csv file to a MySQL database
that contains name and email fields. It has about 9k lines on it and I need
a new field that orinally didn't exist called "code" thats suposed to be
MD5(name.email)
I know how to do this for new data, but I don't know how to update all the
old ones I already have there.
Thank you in advance,
Daniela
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php