Re: MySQL Default date
| From: | Paul DuBois | Date: | Mon, 07 Aug 2000 03:15:44 +0000 |
| Subject: | Re: MySQL Default date | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1812@lists.php.net to get a copy of this message | ||
At 9:37 PM -0300 2000-08-06, Jayme Jeffman Filho wrote:
I tried to use some internal MySQL function to set a default date to a Date field. It reeturns an error. Is there any way of set a today's value as a default to a MySQL date field ? Thank's a lot . Jayme.What is your PHP question? Your MySQL question is unclear. Are you talking about setting a default in a CREATE TABLE statement? If so, you can't do what you want: default values must be constants. Are you talking about something else? If so, what? -- Paul DuBois, paul@snake.net