i prefer to use aliases for my updates, because the format for SQL makes it easy to include a SELECT statement very easily, which lets me do a quick Sanity Check by running the SELECT portion with the identical criteria.
how does this work for you?
SET MyTarget.EstimatedDeletedDate = 1
--highlight and execute starting at the SELECT
FROM VehicleWorld MyTarget
WHERE NOT EXISTS
(SELECT 1 FROM VCFS_Production..CORE_VehicleAdSearch ads
WHERE MyTarget.Vehicle_ID = ads.Vehicle_ID)
AND MyTarget.EstimatedDeletedDate <> 1
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!