Sorry about that - I am not very familiar with SQL 2000, I sort of assumed that it would work the same way as in SQL 2005 or SQL 2008. Can you try to see if this works:UPDATE passenger travels SET class = 'First Class'FROM travels INNER JOIN passenger ON passenger.cust_id= travels.cust_idWHERE MONTH(passenger.dob) = 11 AND travels.class = 'Economy'
or thisUPDATE passenger travels SET class = 'First Class'FROM travels,passenger WHERE passenger.cust_id= travels.cust_id AND MONTH(passenger.dob) = 11 AND travels.class = 'Economy'
Edit: Corrected a silly error after jesuraja posted the corrected query.