Hi everyone,
I need to compare to tables. one being the master and the other being a local table.
the master can have hundreds of records and the local have only a few. I need to compare the local to the master and display the ones that are the same and also display the ones that do not exist for the purpose of updating and adding to the master table.
Example:
MASTERTABLE
1,2,3,4,5
LOCALTABLE
1,2,3,4,5,6
OUTPUT
update 1,2,3,4,5
insert 6
hope someone can help
Thanks
I need to compare to tables. one being the master and the other being a local table.
the master can have hundreds of records and the local have only a few. I need to compare the local to the master and display the ones that are the same and also display the ones that do not exist for the purpose of updating and adding to the master table.
Example:
MASTERTABLE
1,2,3,4,5
LOCALTABLE
1,2,3,4,5,6
OUTPUT
update 1,2,3,4,5
insert 6
hope someone can help
Thanks