| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Paul DuBois | Date: | December 23 1999 5:01pm |
| Subject: | Re: datetime | ||
| View as plain text | |||
At 10:08 AM -0500 1999-12-23, <repett0@stripped> wrote: >Hi, >I have a field in a table that is type datetime. I was wondering how come >it wont get set to the default(current) time if I don't put a value in it. >That is if I use the web form. If I insert in mysql (not doing anyting to >it) it works? For a DATETIME type, you can't. Default values must be constants. You could use a TIMESTAMP instead. -- Paul DuBois, paul@stripped
| Thread | ||
|---|---|---|
| • datetime | repett0 | 23 Dec |
| • Re: datetime | sinisa | 23 Dec |
| • Re: datetime | Paul DuBois | 23 Dec |
| • Re: datetime | Matthew Vanecek | 23 Dec |
| • Re: datetime | Paul DuBois | 23 Dec |
