UPDATE IES.T_NSI_UPDATE
SET IsBulkLoad = 1
WHERE Encoding = 866 OR 
type_ = (select EntityId from VCLib.T_ENTITIES WHERE EntName = 'NSI_UPDATE_EXCEL') OR
type_ = (select EntityId from VCLib.T_ENTITIES WHERE EntName = 'NSI_UPDATE_DBF');