|
发表于 2008-12-18 14:05:40
|
显示全部楼层
执行
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine22','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine22] [varchar] (60) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine23','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine23] [varchar] (60) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine24','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine24] [varchar] (60) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine25','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine25] [varchar] (60) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine26','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine26] [float] NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine27','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine27] [float] NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine28','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine28] [varchar] (120) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine29','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine29] [varchar] (120) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine30','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine30] [varchar] (120) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine31','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine31] [varchar] (120) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine32','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine32] [varchar] (120) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine33','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine33] [varchar] (120) COLLATE Chinese_PRC_CI_AS NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine34','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine34] [int] NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine35','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine35] [int] NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine36','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine36] [datetime] NULL
go
IF COLUMNPROPERTY(OBJECT_ID('prostruopt'),'cDefine37','PRECISION') IS NULL
ALTER TABLE prostruopt add [cDefine37] [datetime] NULL
go
r |
|