Hi
I have two tabled, say A and B. I want to update table B by adding to it corresponding values (via the primary key) from Table A. If a record is present in both table A and B, I can successfully update it in B using the UPDATE command, but I'm having problems updating table B with a record in A that is not present in B. Could someone please advise me on how to go about this?
I want all the new records (present in A, but not in B) to be added to B as new records while the records(i.e. B=A) in A that have are related in B to be updated in B (say B=B+A).
Thanks for your time.
Abe.
I have two tabled, say A and B. I want to update table B by adding to it corresponding values (via the primary key) from Table A. If a record is present in both table A and B, I can successfully update it in B using the UPDATE command, but I'm having problems updating table B with a record in A that is not present in B. Could someone please advise me on how to go about this?
I want all the new records (present in A, but not in B) to be added to B as new records while the records(i.e. B=A) in A that have are related in B to be updated in B (say B=B+A).
Thanks for your time.
Abe.