Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.oracle -> Re: Rounding Date to Beginning of Year

Re: Rounding Date to Beginning of Year

From: Terry Coccoli <request_at_ifneeded.com>
Date: Wed, 17 Mar 2004 20:19:03 GMT
Message-ID: <Xo26c.10862665$Id.1821719@news.easynews.com>

This rounds up to 1st of following year after July 1, according to Oracle documenation.

I'm looking for something that will arounds round up to 1st of year given any date, even for dates beyond July 1.

I should have explained that in my initial post. Sorry about that.

bdragos wrote:

> SELECT trunc(SYSDATE, 'YYYY') FROM dual
>
> "Terry Coccoli" <request_at_ifneeded.com> wrote in message
> news:f826c.10952613$Of.1835450_at_news.easynews.com...
>

>>Anyone have a simple method of doing this, using a minimal amount of
>>functions ?
>>

>
>
>
Received on Wed Mar 17 2004 - 14:19:03 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US