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

Home -> Community -> Usenet -> c.d.o.server -> Re: Dates

Re: Dates

From: J Alex <nospam_at_nospamx.info>
Date: Tue, 21 Oct 2003 20:24:37 GMT
Message-ID: <9Cglb.49022$mp1.5911@nwrddc02.gnilink.net>

"Roger Smith" <rsmith22_at_fastmail.net> wrote
> I need to physicaly change a date to the first of every month ex:
>
> 12/31/2000 to 12/1/2000 and so on
>
> select RealDate, (Changed RealDate) as NewDate
> from ...
>

SELECT TRUNC(date_item,'MONTH') from table_name; Received on Tue Oct 21 2003 - 15:24:37 CDT

Original text of this message

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