Home » RDBMS Server » Server Administration » Re: DATE TRUNCATING
Re: DATE TRUNCATING [message #375028] Thu, 19 July 2001 18:55
sanjai
Messages: 8
Registered: July 2001
Junior Member
Hi,
U can also do it in following way

select next_day((select sysdate-14 from dual),'MONDAY'),
next_day((select sysdate-7 from dual),'SUNDAY') from dual;

instead od sysdate u can use any specified date

regards
Sanjai
Previous Topic: Re: DATE TRUNCATING
Next Topic: Create Temporay tables in Oracle 8
Goto Forum:
  


Current Time: Mon Dec 23 21:12:19 CST 2024