Viewing 7 posts - 1 through 7 (of 7 total)
This should work for you
select j.JobNumber,j.JobType,j.ProductType,j.Date,ca.DateOfCheckBeforeInstallation,ca.CheckDoneBy
from JobsTable j
cross apply(select top 1 p.DateOfCheck,p.CheckDoneBy
from ProductChecks p
where...
February 16, 2021 at 10:26 am
This has done the trick, many thanks for your help on this. 🙂
February 16, 2021 at 10:24 am
Awesome, thank you for your help. That has done the trick.
September 21, 2018 at 2:19 am
February 6, 2018 at 10:01 am
The main issue...
February 6, 2018 at 9:17 am
February 6, 2018 at 9:15 am
Excellent, thank you that has sorted it. Not quite fully understanding what the COALESCE part does but it does what I need it to.
June 19, 2017 at 8:48 am
Viewing 7 posts - 1 through 7 (of 7 total)