This is my main table:
select Name, Age, Race, from Person
I create a temp table based on what is available in my XML file, thus the temp table might have all of the fields in my table Person or just 1 or just 2 in a mix order.
Select * from #MyTempTable = Mike, 44
or it can be
Select * from #MyTempTable = Race, Mike
Is it possible to populate my Person
table with what ever values I have in my temp table?
So if the #MyTempTable
have a column Age
then populate the Person
table with just the Age
value into column Age
in table Person