Link to home
Create AccountLog in
Avatar of ITMikeK
ITMikeKFlag for United States of America

asked on

case for date

I have select statement that includes the following:
DATEADD (mm,+1,(tblUser.BILLMON +'01') ) AS TransDate,
There are some instances where tblUser.BILLMON ='000000' (usually it is 201205...or something like that)
I want a case added to the beginning of this to handle the '000000'...how could I go about it?
ASKER CERTIFIED SOLUTION
Avatar of PortletPaul
PortletPaul
Flag of Australia image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account