Re: auto fill field with value from another
| From: | Andreas D. Landmark | Date: | Fri, 03 Aug 2001 20:46:14 +0000 |
| Subject: | Re: auto fill field with value from another | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11054@lists.php.net to get a copy of this message | ||
At 03.08.2001 20:38, you wrote:
Is there a way to have a field in a MySQL table automatically be filled whenever that row is created or updated with the value of another field in the same table? Is there a way to have it filled with a calculation based on another field? thanks, bill hollettsubselects are nasty to implement in mysql (due to the fact it doesn't support them very-well/at-all depending on your viewpoint). but it is doable... -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then.