Re: First day date of a month

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Wed, 23 Feb 2000 18:44:53 +0800
Message-ID: <38B3BA25.3E97_at_yahoo.com>


K Stahl wrote:
>
> Sybrand Bakker wrote:
> >
> > select to_char(trunc(sysdate,'YYYY-MM'))
> > from dual;
> >
> > Sorry to correct an employee of Oracle.
> >
> > >
>
> That causes the error:
>
> ORA-01898: too many precision specifiers

trunc(date,'MM')

Cheers

-- 
===========================================
Connor McDonald
http://www.oracledba.co.uk

We are born naked, wet and hungry...then things get worse
Received on Wed Feb 23 2000 - 11:44:53 CET

Original text of this message