IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'License' AND COLUMN_NAME = 'OrganizationCount') begin alter table License add OrganizationCount int not null default 1 end