sQryXXX = select a.pPId, a.sCodigo, a.sDescricao from COp a where a.pPId=17 and a.iVer = a.iVAt and a.lExc = 0 order by 2