So i am trying to put a convert to BIT in the statement below(the case statement)
Select ID, case when cm.Id in (casn.id) then 1 else CASE WHEN ISNULL(cm.ShippedQty,