I have 2 queries that are essentially the same (at least if I didn\'t miss something).
DECLARE @siloIds SiloIdsTableTy