In the diagram below there is a 1:1 relationship between \'DodgyOldTable\' and \'MainTable\'. Table \'Option\' contains records with \'OptionVal1\', \'OptionVal2\' and \'OptionV
I'd say that a manual migration script would be easier to use then trying to do it in a single sql query, if that is an option.