Link to home
Start Free TrialLog in
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.
SOLUTION
Avatar of Harish Varghese
Harish Varghese
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?