wvandenberg
Technical User
Hi all,
I have a query that checks one table against another then appends any missing items. However, if a missing item contains square brackets (eg. Benzo[e]pyrene), then it is not recognized as "missing". Could anyone suggest how to fix this problem? Here is the SQL:
Thanks in advance,
Wendy
I have a query that checks one table against another then appends any missing items. However, if a missing item contains square brackets (eg. Benzo[e]pyrene), then it is not recognized as "missing". Could anyone suggest how to fix this problem? Here is the SQL:
Code:
INSERT INTO tblAnalytes ( AnalyteName, ParentAnalyteID )
SELECT tblWizParamSpecs.pkAnalyteSpec, tblWizParamSpecs.pkAnalyteID
FROM tblWizParamSpecs LEFT JOIN tblAnalytes ON tblWizParamSpecs.pkAnalyteSpec = tblAnalytes.AnalyteName
WHERE (((tblAnalytes.AnalyteName) Is Null) AND ((tblWizParamSpecs.Action)<>4))
ORDER BY tblWizParamSpecs.pkAnalyteSpec;
Thanks in advance,
Wendy