Třídová akce

Popis:
Vrátí nezpracované e-maily
Kód:
5
Tělo:
select 
  ID 
from 
  EmailsReceived ER 
where 
  ER.Processed = 'N'
  and (:EmailAccountSelID = Cast(' ' as char(10)) or  ER.EmailAccount_ID in (select Obj_ID from Seldat where Sel_ID = :EmailAccountSelID))
order by
  ER.EmailAccount_ID, ER.ReceivedDate$DATE, ER.ID  
     

Generated by ABRA Software a.s. 27.10.2021 16:35:16