Re: Oddity with extract microseconds? - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Oddity with extract microseconds?
Date
Msg-id 439649B4.2060209@familyhealth.com.au
Whole thread Raw
In response to Re: Oddity with extract microseconds?  (Michael Fuhr <mike@fuhr.org>)
Responses Re: Oddity with extract microseconds?
List pgsql-hackers
> MySQL 5.0.16 gives an error:
> 
> mysql> SELECT EXTRACT (MICROSECOND FROM '2003-01-02 10:30:00.00123');
> ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
> that corresponds to your MySQL server version for the right syntax to use
> near 'FROM '2003-01-02 10:30:00.00123')' at line 1

Odd, that example is straight from the MySQL 5 manual:

http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html

Chris



pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Oddity with extract microseconds?
Next
From: Tom Lane
Date:
Subject: Re: row is too big: size 8916, maximum size 8136