yasanthax
asked on
Access Database-Update Query Error - Cannot Update
I have been having problems with what I thought was an easy update query, using the following query, and the error prompt simply says it cannot update database. I have tested this code many times trying to run an update query to replace existing staging table values with mapped values. Appreciate it if anyone can help.
The SQL Code is as follows:
UPDATE stgOutcomeDataUpload
SET stgOutcomeDataUpload.SPass ABC = (SELECT lkpStage4FieldMappings.Fie ldValue
FROM lkpStage4FieldMappings, stgOutcomeDataUpload
WHERE stgOutcomeDataUpload.SPass ABC = lkpStage4FieldMappings.Fie ldString AND (((lkpStage4FieldMappings. FieldName) ="SPassABC ")));
thanks
The SQL Code is as follows:
UPDATE stgOutcomeDataUpload
SET stgOutcomeDataUpload.SPass
FROM lkpStage4FieldMappings, stgOutcomeDataUpload
WHERE stgOutcomeDataUpload.SPass
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER