When I run either set of code independently, they work find. When I run them together I get the following error:
Invalid column name 'MyNewField'
Indeed, MyNewField does not get added to the table.
ALTER TABLE MyTable
ADD MyNewField tinyint NULL
SET MyNewField = AnotherFieldInMyTable