Delete Errors from Controlled Table
This task removed from the controlled table (static control) or integration table (flow control) the rows detected as erroneous.This task is always executed and has the Remove Errors option selected.
Command on Target (Oracle)
delete from <%=odiRef.getTable("L", "CT_NAME", "A")%> T
where exists (
select 1
from <%=odiRef.getTable("L","ERR_NAME", "W")%> E
where ODI_SESS_NO = <%=odiRef.getSession("SESS_NO")%>
and T.rowid = E.ODI_ROW_ID
)
No comments:
Post a Comment