IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'Estate' AND COLUMN_NAME = 'Dom_ID_RowType') begin alter table dbo.Estate add Dom_ID_RowType int references domain(ID) not null default 1429 end