G
Guest
I'm trying to create an update query that will look at the values in the
PrimaryType (table A)field and compare them to the values (7*, DCS*, etc.) in
another table (table B). If the values match, then I want to the
PimaryTypeDescription field in Table A to be updated with the corresponding
value in table B (7* --> Print, DCS* --> View). Here's the query that I have,
it does not work for the records with wildcards in the value.
UPDATE Reports
INNER JOIN ModeTable ON [reports].[PrimaryType]=[ModeTable].[BundlMode]
SET reports.PrimaryTypeDesc = [modeTable].[FormatType]
WHERE [reports].PrimaryType Like [ModeTable].[BundlMode];
any suggestions?
PrimaryType (table A)field and compare them to the values (7*, DCS*, etc.) in
another table (table B). If the values match, then I want to the
PimaryTypeDescription field in Table A to be updated with the corresponding
value in table B (7* --> Print, DCS* --> View). Here's the query that I have,
it does not work for the records with wildcards in the value.
UPDATE Reports
INNER JOIN ModeTable ON [reports].[PrimaryType]=[ModeTable].[BundlMode]
SET reports.PrimaryTypeDesc = [modeTable].[FormatType]
WHERE [reports].PrimaryType Like [ModeTable].[BundlMode];
any suggestions?