I have two tables that I want to join into one table and use a TypeID to differentiate them. Let's say the types are A and B. The Tables are A_Level and B_Level
A's Table looks like
Level
Level_ID Description
B's Table looks like
Level
Level_ID Level_Desc
A's Level_ID is referenced from Table C as Level_ID
B's Level_ID is referenced from Table D as Level_ID
I am looking for a script that would merge the two tables into one table (Level_Code) and update the referenced Tables ID's accordingly.
Any help is greatly appreciated.