You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
857 B

11 months ago
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