N
NumbrCrnchr
I need to selectively update a field in my master table with new data. By
selective I mean only records that meet a particular criteria need to be
updated. My new data is in a different table, and they are related by repair
order. This is the SQL code that Access generates:
UPDATE RepairData LEFT JOIN DallasData ON RepairData.[Repair Order] =
DallasData.[Repair Order] SET RepairData.[Material Out] =
[DallasData].[Material Out]
WHERE (((RepairData.Plant)="1103"));
I know there are approx 75k records that need to be updated, but when I go
to run this query Access tells me it want to update all the records (800k).
I did this once (mistake) and Access updated the entire table, wiping out
field data on the records that don't match the criteria AND updating the
records I wanted changed. What am I missing here?
selective I mean only records that meet a particular criteria need to be
updated. My new data is in a different table, and they are related by repair
order. This is the SQL code that Access generates:
UPDATE RepairData LEFT JOIN DallasData ON RepairData.[Repair Order] =
DallasData.[Repair Order] SET RepairData.[Material Out] =
[DallasData].[Material Out]
WHERE (((RepairData.Plant)="1103"));
I know there are approx 75k records that need to be updated, but when I go
to run this query Access tells me it want to update all the records (800k).
I did this once (mistake) and Access updated the entire table, wiping out
field data on the records that don't match the criteria AND updating the
records I wanted changed. What am I missing here?