Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
NB Query is a lot longer, but above is the general essence.
DECLARE @StartDate DATETIME = '01-Jun-2012 00:00:00' DECLARE @EndDate DATETIME = '31-May-2013 23:59:59'; SELECT ClientID, CareCluster, IPAdmissionDate, IPDischargeDate, DATEDIFF(day,IPAdmissionDate,ISNULL(IPDischargeDate,@EndDate)) AS OccupiedBedDays FROM InpatientAdmissions
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.