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

Home -> Community -> Usenet -> c.d.o.misc -> Re: First date of a month

Re: First date of a month

From: Ms. D.H. Harvey <qq45_at_liverpool.ac.uk>
Date: 22 Feb 2000 11:27:48 GMT
Message-ID: <88trrk$imb$1@news.liv.ac.uk>


select to_char (last_day (add_months (sysdate, -1)) + 1, 'dd-mon-yyyy') from dual;

HTH Helen

Norazman (norazman_at_ti.com) wrote:
: Hi how to get the firts day date of the month in SQL.
: Ie since today is feb so it should be 01-feb-2000
: thanks

: azman
Received on Tue Feb 22 2000 - 05:27:48 CST

Original text of this message

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