Re: Oddity with extract microseconds?

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Oddity with extract microseconds?
Date: 2005-12-07 02:32:20
Message-ID: 439649B4.2060209@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Fuhr 2005-12-07 02:41:54 Re: Oddity with extract microseconds?
Previous Message Michael Fuhr 2005-12-07 02:22:01 Re: Oddity with extract microseconds?