I have three tables Table1:
| Employee | Designation |
|---|
Table2:
| ColumnA | ColumnB |
|---|---|
| Ravi | Developer |
| Swathi | HR |
Table3:
| Sourcecolumn | Destinationcolumn |
|---|---|
| Employee | ColumnA |
| Designation | ColumnB |
Expected Output to be Inserted in Table1:
| Employee | Designation |
|---|---|
| Ravi | Developer |
| Swathi | HR |
I have to insert Table2 values in Table1 by matching the columns mentioned in Table3 dynamically.
Table2 columns and values will differ dynamically. Only by using Table3 I can insert in Table1. So I struck on this. Can anyone help me with this?