GET NEXT Months of Todays Date in sql

Next Month

(select dateadd(m, 1, DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0)))

Next Month  + 1

(select dateadd(m, 2, DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0)))

Comments

Popular posts from this blog

Uploading Image to Sql Server Image Datatype in asp.net using fileupload Control

πŸ“‰ Study: African Women Face Higher Risk of Job Loss to AI in Outsourcing Sector

🎨 Is There a Future for Graphic Designers in the AI Era?