I have two tables and they are related by a common ID. tbl_1 has a unique ID and tbl_2 is related to tbl_1 through this ID.
I have a field in tbl_2 that is missing values that are stored in tbl_1. I want to update those values in tbl_2 to match that of tbl_1.
Hope this was clear. I tried and update statement using an inner join and I am not to sure that MS SQL supports inner joins or my syntax was wrong.
Any help on how the update statement would turn out to be.
Thanks in advance...
I have a field in tbl_2 that is missing values that are stored in tbl_1. I want to update those values in tbl_2 to match that of tbl_1.
Hope this was clear. I tried and update statement using an inner join and I am not to sure that MS SQL supports inner joins or my syntax was wrong.
Any help on how the update statement would turn out to be.
Thanks in advance...