I'm trying to create an after insert trigger.
....
AFTER INSERT AS
BEGIN
update job_function
set job_function.user_initials =
(Select up.user_initials from user_profile upwhere inserted.user_id = up.user_id)
However, it is updating all of the rows - I only want it to update the row I am inserting
....
AFTER INSERT AS
BEGIN
update job_function
set job_function.user_initials =
(Select up.user_initials from user_profile upwhere inserted.user_id = up.user_id)
However, it is updating all of the rows - I only want it to update the row I am inserting