Rakesh
Answered On : May 29th, 2012
In rdfs sql section,you just formate the to_date as fallow:
sql
where to_char(datefield,dd/mm/yyyy)=to_char(to_date,01||/mm/yyyy)
Login to rate this answer.
Chip Dawes
Answered On : Jun 4th, 2012
To get the first date of a month, truncate the date to the month, like this:
Code
SELECT trunc(my_date,Mon) FROM dual;
Login to rate this answer.
select last_day(add_months(trunc(sysdate),-1)) + 1 from dual;
OR
select trunc(sysdate,MON) from dual;
Login to rate this answer.
Krishna
Answered On : Apr 3rd, 2013
Select Trunc(SYSDATE,MON) From Dual;
Login to rate this answer.