I have this query in my SQL Server :
- select right(convert(varchar(10),getdate(),103),7)
Now, how do I get the previous month's result (03/2020)?
Thanks, everyone for your suggestions.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jes SieRank #1,285 · 1.3K reputationPosted Apr 25, 2020, 12:08 AM EDT