IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'ProductFormulDetail' AND COLUMN_NAME = 'Price') begin alter table dbo.ProductFormulDetail add Price decimal(19,4) null end