Home Forums SQL Server 2008 SQL Server 2008 - General SHOW OFF DAY RE: SHOW OFF DAY
Dird
SSCertifiable
Points: 5081
More actions
June 15, 2013 at 5:55 am
#1624338
select c.DATE, s.eid, isnull(s.Shift,'O'), s.timein, s.timeout
from Shift s right outer join calendar c on s.date=c.date
Like this? The "shift" table would be replaced with the table containing "timein" etc