select CMInc,CustKind,CustID,ServiceID,VenID,SetType,Value=convert(text,Value),DeleteYes,CreateDate,CreateDate8,CreateOper,ModifyDate,ModifyDate8,ModifyOper from psSetMain where SetType ='MemPointViewType'
select *
from psCateMainBatch where 1=1 and (Depth=1 or Depth=2)
order by CBInc asc
query error!query error!