AdventurGurl
Technical User
The following query tells me incorrect syntax near FROM??
UPDATE c SET c.ac_id = b.ac_id
FROM ((Account a
INNER JOIN Account b
ON a.ac_number = b.ac_number)
INNER JOIN scanned_document c
ON a.ac_id = c.ac_id)
WHERE a.ACT_ID IN (59,60,61,62,63,64,65)
AND b.ACT_ID IN (71,72,73,74,75,76,77));
Any ideas? Thanks in advance!
UPDATE c SET c.ac_id = b.ac_id
FROM ((Account a
INNER JOIN Account b
ON a.ac_number = b.ac_number)
INNER JOIN scanned_document c
ON a.ac_id = c.ac_id)
WHERE a.ACT_ID IN (59,60,61,62,63,64,65)
AND b.ACT_ID IN (71,72,73,74,75,76,77));
Any ideas? Thanks in advance!