on 4/10/01 7:23 PM, elias at [EMAIL PROTECTED] wrote:

> Can a default field value in MySql be a function?

no.

> Like default value of a date field should be the built-in function NOW()?

still, nope.

> anything like what i'm asking for?

ahhh- if you are looking for a way to automatically have a timestamp
inserted into a record, make a new field of type timestamp that is not null.
if you don't insert any value into the timestamp field it will use the
current date-time.



have a great day
andy

-- 
*******************************************************
Andrew Rush :: Lead Systems Developer :: MaineToday.com
*******************************************************

"A friend of the devil is a friend of mine" - R. Hunter





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