Delete using data from external table
600711Jan 17 2011 — edited Jan 17 2011Hi,
Please could someone help me out with the statement to delete an entire row from referencing a person_id on a internal table where it matches the person id on an external one? I have the update statement below, but also need to know how to do delete (for the entire row, not just one column).
Update XX_SQL_LOADER_TEST SLT
set emp_number = (SELECT emp_number from XX_EXTERNAL_TBL ET where ET.Person_id = SLT.PERSON_id)
, emp_name = (SELECT emp_name from XX_EXTERNAL_TBL ET where ET.Person_id = SLT.PERSON_id)
Many Thanks
Steve
Edited by: SteveCPP on Jan 17, 2011 1:19 PM