"Mike R" <[EMAIL PROTECTED]> wrote: > > I am using mysql 4.0.16. > > Is it possible to put a calculation of two other columns as the default > value for a third column? > > Like: > > time = decimal 3,2 > rate = decimal 3,2 > totals = default is time * rate
No. Default values must be constant. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]