I want to get the last date of the previous month.
Something like this:
FunctionName(10.02.2011) Result should be 31.01.2011
In oracle
we can do it using the last_day()
function as suggested in this question question. Is there a similar function to do the same in Netezza Database
.