IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'bargeh' AND COLUMN_NAME = 'Saat') begin alter table bargeh add Saat int not null default 0 end IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'ProductDetail' AND COLUMN_NAME = 'Saat') begin alter table ProductDetail add Saat int not null default 0 end IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'AnbarGardani' AND COLUMN_NAME = 'Saat') begin alter table AnbarGardani add Saat int not null default 0 end IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'UseProductionKala' AND COLUMN_NAME = 'Saat') begin alter table UseProductionKala add Saat int not null default 0 end