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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Oracle Date Functions

Re: Oracle Date Functions

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: 2000/06/06
Message-ID: <960321205.22670.0.pluto.d4ee154e@news.demon.nl>#1/1

Use trunc(add_months(sysdate,1), 'YYYYMM') add_months adds a month to the sysdate (negative numbers are allowed too) and trunc truncs the date to a month.

Hth,

Sybrand Bakker, Oracle DBA

<firozahmad_at_my-deja.com> schreef in berichtnieuws 8hjid1$f33$1_at_nnrp1.deja.com...
> Is there any SQL Query anybody has written which can find the Next
> Months First Days Date.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Tue Jun 06 2000 - 00:00:00 CDT

Original text of this message

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