Re: Mysql date/time, was Re: Press Release -- Just

From: Richard Huxton <dev(at)archonet(dot)com>
To: Jason Hihn <jhihn(at)paytimepayroll(dot)com>
Cc: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Mysql date/time, was Re: Press Release -- Just
Date: 2002-11-20 15:10:08
Message-ID: 200211201510.09083.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy

On Wednesday 20 Nov 2002 2:02 pm, Jason Hihn wrote:
> Oh, that is interesting... But that is not a datetime.

Doh - operating a keyboard without engaging the brain first.

mysql> insert into foo2 values (1,now());
mysql> insert into foo2 values (2,'');
mysql> insert into foo2 values (3,'asdf');

mysql> select * from foo2;
+------+---------------------+
| a | b |
+------+---------------------+
| 1 | 2002-11-20 15:07:54 |
| 2 | 0000-00-00 00:00:00 |
| 3 | 0000-00-00 00:00:00 |
+------+---------------------+

--
Richard Huxton

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Josh Berkus 2002-11-20 17:01:23 Re: Mysql date/time, was Re: Press Release --
Previous Message Robert Treat 2002-11-20 14:35:28 backhanded compliment from Larry Ellison