Suppose in a scenario I have to return datepart of current date(say 2011-01-31) as Year-month(2010-01).
If i use year and month function, it returns me as 2010-1(0 is missing before 1 in month part).
is there any way to achieve the exact string.
Thanks in advance
View Complete Post