UPDATE
[ModelTaskDataLocal] INNER JOIN [qryModelDataPPQ]
ON
([ModelTaskDataLocal].[PM_FREQUENCY] = [qryModelDataPPQ].[PM_FREQUENCY_DAYS]) AND
([ModelTaskDataLocal].[TIME_STAMP] = [qryModelDataPPQ].[TIME_STAMP]) AND
([ModelTaskDataLocal].[ModelData_MODEL_WO_NBR] = [qryModelDataPPQ].[MODEL_WO_NUMBER]) AND
([ModelTaskDataLocal].[PM_LATEST_DATE] = [qryModelDataPPQ].[PM_LATEST_DATE]) AND
([ModelTaskDataLocal].[PM_EARLY_DATE] = [qryModelDataPPQ].[PM_EARLY_DATE]) AND
([ModelTaskDataLocal].[PM_DUE_DATE] = [qryModelDataPPQ].[PM_DUE_DATE]) AND
([ModelTaskDataLocal].[PM_CAT_CD] = [qryModelDataPPQ].[PM_CAT_CD]) AND
([ModelTaskDataLocal].[PM_STATUS] = [qryModelDataPPQ].[PM_STATUS]) AND
([ModelTaskDataLocal].[PM_TITLE] = [qryModelDataPPQ].[PM_TITLE]) AND
([ModelTaskDataLocal].[PM_FREQUENCY_CODE] = [qryModelDataPPQ].[PM_FREQUENCY_CODE]) AND
([ModelTaskDataLocal].[ModelData_PM_RQ_NUMBER] = [qryModelDataPPQ].[PM_RQ_NUMBER]) AND
([ModelTaskDataLocal].[ModelData_PM_ID_NUMBER] = [qryModelDataPPQ].[PM_ID_NUMBER])
SET
[ModelTaskDataLocal].[ModelData_PM_ID_NUMBER] = [qryModelDataPPQ].[PM_ID_NUMBER],
[ModelTaskDataLocal].[ModelData_PM_RQ_NUMBER] = [qryModelDataPPQ].[PM_RQ_NUMBER],
[ModelTaskDataLocal].[ModelData_MODEL_WO_NBR] = [qryModelDataPPQ].[MODEL_WO_NBR],
[ModelTaskDataLocal].[PM_FREQUENCY_CODE] = [qryModelDataPPQ].[PM_FREQUENCY_CODE],
[ModelTaskDataLocal].[PM_FREQUENCY] = [qryModelDataPPQ].[PM_FREQUENCY_DAYS],
[ModelTaskDataLocal].[PM_TITLE] = [qryModelDataPPQ].[PM_TITLE],
[ModelTaskDataLocal].[PM_STATUS] = [qryModelDataPPQ].[PM_STATUS],
[ModelTaskDataLocal].[PM_CAT_CD] = [qryModelDataPPQ].[PM_CAT_CD],
[ModelTaskDataLocal].[PM_DUE_DATE] = [qryModelDataPPQ].[PM_DUE_DATE],
[ModelTaskDataLocal].[PM_EARLY_DATE] = [qryModelDataPPQ].[PM_EARLY_DATE],
[ModelTaskDataLocal].[PM_LATEST_DATE] = [qryModelDataPPQ].[PM_LATEST_DATE],
[ModelTaskDataLocal].[TIME_STAMP] = [qryModelDataPPQ].[TIME_STAMP];
|