Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: First date of a month
A copy of this was sent to Norazman <norazman_at_ti.com>
(if that email address didn't require changing)
On Tue, 22 Feb 2000 18:26:33 +0800, you 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
ops$tkyte_at_dev8i> select trunc(sysdate,'month') from dual;
TRUNC(SYS
Thomas Kyte tkyte_at_us.oracle.com Oracle Service Industries Reston, VA USA
Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Tue Feb 22 2000 - 09:32:05 CST