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.

9 lines
324 B

9 months ago
if not exists (select name from syscolumns where name='statedate' and id=object_id('t_order_head'))
alter table t_order_head add statedate varchar(10) null
go
if not exists (select name from syscolumns where name='statetime' and id=object_id('t_order_head'))
alter table t_order_head add statetime varchar(10) null
go