SQL Server Transact Basic to Expert - Decreasing a date value to 4 months using SQL queryKarthikeyan Anbarasan15yPublished Jun 16, 2011, 12:00 AMUpdated Jun 16, 2011, 8:56 AM6.2k00Reactions×25BlogThis blog shows how to do an decrease a date value to 4 months in the output using SQL QueryExample:SELECT DATEADD(mm, -4, '8/1/2011')The expected result would be 2011-04-01 00:00:00.000CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.