Hi all,
I want to know the below date format in sql server
how to find month from current year to previous year which means total month count should 12 months.
Expected output:
input : 2016-04-26
output: 2015-03-26 // this is for output
please drop me a solution for this.
thanks in advance.