It was suggested to me to use a Not Exists Join to accomplish the below problem. I'm not sure how to write SQL for this.
I have the following:
1,000 records in table A
500 records in table B
Field ProductId is common to both tables.
If a ProductId from table A does not exist in B table a record needs to be added to table B. In this case 500 records from table A need to be added to table B.
I have the following:
1,000 records in table A
500 records in table B
Field ProductId is common to both tables.
If a ProductId from table A does not exist in B table a record needs to be added to table B. In this case 500 records from table A need to be added to table B.