>>>>> "JSB" == Jamie S Buchanan <[EMAIL PROTECTED]> writes:

JSB> More specifically, I have two DateTime fields (A and B), in my creation
JSB> script I want to set the default value of B to the value of A so that
JSB> when I write a new record to the table the position of B can be left

what's wrong with

 INSERT INTO goo (A,B) VALUES (NOW(),A)



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

---------------------------------------------------------------------
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

Reply via email to