if not exists (select name from syscolumns where name='staxrate' and id=object_id('t_whquote_body')) alter table t_whquote_body add staxrate int not null default(0) go if not exists (select name from syscolumns where name='staxrate' and id=object_id('t_whsale_body')) alter table t_whsale_body add staxrate int not null default(0) go if not exists (select name from syscolumns where name='staxrate' and id=object_id('t_whsale_body2')) alter table t_whsale_body2 add staxrate int not null default(0) go if not exists (select name from syscolumns where name='staxrate' and id=object_id('t_whreturn_body')) alter table t_whreturn_body add staxrate int not null default(0) go if not exists (select name from syscolumns where name='staxrate' and id=object_id('t_whreturn_body2')) alter table t_whreturn_body2 add staxrate int not null default(0) go