TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abraham Olatubosun
NA
471
113.4k
How to convert integers to numbers of months
Oct 24 2016 7:46 AM
Dear all,
Thank you once again, as usual i got code tips from you guys today after implementing it, this solve part of my challenges now i want to convert list of duration to duration in months
Duration (int)
Number of Months
30
1 month
90
3 months
60
2 months
120
4 months
the script is shown below
Select PatientId, VisitDate,drug_Type, Duration from PatientPhermacy
i want the duration to be in number of months as in the table above.
thank you all
Reply
Answers (
3
)
How to use datediff to get age less than 12 months
First character of string