select * from tblItemsOrderedTemp where AuthID = 'lYJ4Ms7sgdrUD596tzQTHlue7eK1siquCguI18Zin3rqDxscaM' and ProdIDref in (select ProdIDLimit from tblArticleInAddition where Land = 4 and StartDate < '2018-11-17 09:48:30' and StopDate > '2018-11-16 09:48:30' and ISNULL(ProdIDLimit, 0) > 0)