IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'People' AND COLUMN_NAME = 'Pro_ID_Area') begin alter table dbo.People add Pro_ID_Area int references dbo.OtherProperties(ID) null end