At 3:38 PM -0400 8/3/01, bill 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?

No.

The MySQL manual says default values must be constants:

http://www.mysql.com/doc/C/R/CREATE_TABLE.html

>
>thanks,
>
>bill hollett


-- 
Paul DuBois, [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to