Hi - I mistakenly added columns to the USDA database of food items, wrote a whole application around it, and now have a horrid task to update the USDA records, when a new rev of their database releases.
Long-term we have a solution to split this custom data out into it's own table, but in the near term, I'm trying to copy our custom column from the old USDA database to the new one - but need to match up the records.
I don't have the proper SQL syntax to make this work, but it needs to be something like UPDATE sr27 database NUT_DATA.Img FROM sr21 database NUT_DATA.Img WHERE sr21.NDB_No = sr27.NDB_No
Is there a way to do this from two different databases? Or I can copy a table over to the new db first - either way. Can someone assist with the SQL syntax to accomplish this?