This makes no difference because there are still 2 lines, but now they are in short date format.
Main Topics
Browse All TopicsThe code below returns my out fine, except for records like this:
Patient_Id Location Patient_Type Amount UserPost_Date
Bangor101 Bangor Payment Plan -3.00 2009-09-09 00:00:00.000
Bangor10 1 Bangor Payment Plan -11.00 2009-09-09 09:59:10.000
I need these 2 lines to roll up to one, but due to the way the application we use works, this doesn't always happen. Because the "UserPost_Date" is technically different, they are treated as separate dates.
How can I roll these dates up? I really only care about the day, not the minute.
I've tried CONVERT(VARCHAR, UserPost_Date, 101) AS UserPost_Date, but there are still 2 lines.
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I had a mis-type in the first post. The "Patient_Id" for these lines are for patient Bangor10. There is only one patient, but there are 2 lines. I hope haven't made things more complicated.
Patient_Id Location Patient_Type Amount UserPost_Date
Bangor101 Bangor Payment Plan -3.00 2009-09-09 00:00:00.000
Bangor10 1 Bangor Payment Plan -11.00 2009-09-09 09:59:10.000
Business Accounts
Answer for Membership
by: RajkumarGSPosted on 2009-10-30 at 10:44:06ID: 25705248
convert(varchar(10),UserPo
--Raj