Hi Team,
I have some confusion about the TRUNC Date function..
select trunc(to_date(sysdate,'dd-mm-yy'),'W') from dual;
oputput
------
TRUNC(TO_DATE(SYSDATE,'DD-MM-YY'),'W')
--------------------------------------
08-04-14
As 'W' unit value is for Same day of the week as the first day of the month
sysdate is 10-April-14 same day of the week should be 07-04-14 ,why it showing 08-04-14?