select DISTINCT fileFormat from tbl_EAI_InboundBatches with (nolock) where ownerId = and ownerType = order by fileFormat for json path, include_null_values