I want to update all the document statuses to 9. How can I do this?
I did an update statement but it did not work - I do not know why.
SELECT
sl.sap_filename,
ds.document_status
FROM
tbl_document ds,
tbl_sap_log sl
WHERE
ds.number = sl.number
AND sap_id IN (44343, 55555, 66666, 77777, 88888)
AND ds.DOCUMENT_STATUS = 8;
JOINsyntax in the ANSI-92 SQL Standard (more than 25 years ago) and its use is discouraged