Submitted Questions

  • How to get 1st date of a month ?

    During preparation of report in *.RDF , there are two things on date & to date on date is the i/p value , but to date = 1st day of this month on date how ?

    pradeep

    • Apr 24th, 2015

    SELECT TRUNC(SYSDATE,MM) FROM DUAL

    Praveen

    • Apr 22nd, 2015

    SELECT ADD_MONTHS(LAST_DAY(SYSDATE),-1)+1 FROM DUAL;