alter table Transfer_LHCSystemList add UpdateTime datetime NULL GO; update Transfer_PunchlistFrom set IsMatI='Y' where IsMatI='1' GO update Transfer_PunchlistFrom set IsMatI='N' where IsMatI='0' GO CREATE TABLE [dbo].[Transfer_SystemControl]( [Id] [nvarchar](50) NOT NULL, [ProjectId] [nvarchar](50) NULL, [SystemNo] [nvarchar](50) NULL, [PlanPWD] [datetime] NULL, [PlanJWD] [datetime] NULL, [McPlan] [datetime] NULL, [SubmitPackage] [nvarchar](200) NULL, [ActualPWD] [datetime] NULL, [ActualJWD] [datetime] NULL, [ActualMC] [datetime] NULL, [Commissioning] [nvarchar](200) NULL, [IaQian] [nvarchar](200) NULL, [TcccQ] [nvarchar](200) NULL, [SystemStatus] [nvarchar](20) NULL, [TurnoverDescription] [nvarchar](50) NULL, [Remark] [nvarchar](500) NULL, CONSTRAINT [PK_Transfer_SystemControl] PRIMARY KEY CLUSTERED ( [Id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO