Can someone tell me why this Query won't work? I think my syntax is wrong somewhere but not sure what it is.
UPDATE ct_ProductClassification
SET ProductClassificationName = (SELECT
CategoryCodeTemp.CategoryDescription
FROM
CategoryCodeTemp,ct_productclassification
WHERE
CategoryCodeTemp.CompanyNumber = ct_ProductClassification.BusinessUNitFK
AND
CategoryCodeTemp.CategoryCode = ct_ProductClassification.ProductClassificationID)
WHERE
ct_ProductClassification.ParentClassificationkey <> '0';
When I try to run this it says it must be an updatable Query.
Thanks [sig][/sig]
UPDATE ct_ProductClassification
SET ProductClassificationName = (SELECT
CategoryCodeTemp.CategoryDescription
FROM
CategoryCodeTemp,ct_productclassification
WHERE
CategoryCodeTemp.CompanyNumber = ct_ProductClassification.BusinessUNitFK
AND
CategoryCodeTemp.CategoryCode = ct_ProductClassification.ProductClassificationID)
WHERE
ct_ProductClassification.ParentClassificationkey <> '0';
When I try to run this it says it must be an updatable Query.
Thanks [sig][/sig]