dndaughtery
Programmer
I'm getting an error ("syntax error near 'INNER'") with the following sql but I can't find where the problem is. Can some help out with this?
UPDATE CollectionAgencyProgram_T_EC INNER JOIN (Rejects INNER JOIN Card ON Rejects.CardID = Card.CardID) ON CollectionAgencyProgram_T_EC.ProgramID = Card.ProgramID SET Rejects.CollectionAgencyID = CollectionAgencyProgram_T_EC.CollectionAgencyID
WHERE CollectionAgencyProgram_T_EC.GovernmentID Is Null
UPDATE CollectionAgencyProgram_T_EC INNER JOIN (Rejects INNER JOIN Card ON Rejects.CardID = Card.CardID) ON CollectionAgencyProgram_T_EC.ProgramID = Card.ProgramID SET Rejects.CollectionAgencyID = CollectionAgencyProgram_T_EC.CollectionAgencyID
WHERE CollectionAgencyProgram_T_EC.GovernmentID Is Null