Hello,
I have the following update statement:
UPDATE person per
SET per.start_date = (SELECT emp.start_date
FROM employee emp
WHERE per.ident = emp.ident);
Can you please tell me why this update statement isn't working? It's updating all the start_dates in the person table instead of the 20 that are in the employee table even though I specified the ident columns to match.
Thanks in advance,
sql99
I have the following update statement:
UPDATE person per
SET per.start_date = (SELECT emp.start_date
FROM employee emp
WHERE per.ident = emp.ident);
Can you please tell me why this update statement isn't working? It's updating all the start_dates in the person table instead of the 20 that are in the employee table even though I specified the ident columns to match.
Thanks in advance,
sql99