close
一、先用Vistual Studio Utimate的SQL Schema比對測試機DB和正式機DB差異。
二、與PM討論是否需要停機
三、例如要新增欄位『前台顯示』
alter table [History_DepositLog2] add [t2] nchar(10) null ALTER TABLE [dbo].[History_DepositLog2] ADD CONSTRAINT [DF_History_DepositLog2_t2] DEFAULT ('1') FOR [t2] update [TEST].[dbo].[History_DepositLog2] set t2 = '' where t2 is null alter table [History_DepositLog2] alter column [t2] nchar(10) not null
四、再修改預存,比對後貼上差異執行,即可。
全站熱搜