Have 2 tables, INVN_SBS and INVC_ITEM.
Looking to set the one field in the table to active = '0' based on criteria of if INVN_SBS.ITEM_SID and INVNSBS.ITEM match and INVN_SBS.DCS_CODE = 'SMP'
So far i have:
UPDATE INVN_SBS 
SET ACTIVE='0' 
FROM 
   INVN_SBS,
   INVC_ITEM 
WHERE 
       INVN_SBS.ITEM_SID = INVC_ITEM.ITEM_SID
   and INVN_SBS.DCS_CODE='SMP'
However when run I get:
ORA-00933:SQL Command not properly ended.
Am able to run a select statement to show me the item that match my criteria but the update is giving trouble.
 
     
    