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)
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.