Avatar of Thomask23
Thomask23
 asked on

Sql Server 2008 Syntax Question

Hello,

I need to have the syntax that returns the same day of the next month. For example if it was '2014-02-28' I would need '2014-03-28' to return. What is the appropiate syntax for this?

Thanks in advance.
Microsoft SQL ServerMicrosoft SQL Server 2008

Avatar of undefined
Last Comment
PortletPaul

8/22/2022 - Mon
SOLUTION
Harish Varghese

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
ste5an

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
PortletPaul

mmmmmm

trying to find the last day of the (current, previous or next) month often indicates something that is avoidable (and really simple too).

Why are you trying to get this value? Does it have something to do with using BETWEEN?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy