alter table MyTable add MyColumn int not null
alter table MyTable alter column MyColumn int not null
alter table OnTable with check add constraint FK_OnTable_AgainstTable_OnColumn foreign key (OnColumn) references AgainstTable (AgainstColumn)