升级脚本

This commit is contained in:
2022-12-20 09:36:38 +08:00
parent 1abdaa9476
commit 12a490ab94
3 changed files with 151 additions and 0 deletions
@@ -0,0 +1,13 @@
drop INDEX IX_SitePerson_Person ON [dbo].[SitePerson_Person]
alter table [dbo].[SitePerson_Person]
alter column IsUsed [int] NULL
CREATE NONCLUSTERED INDEX [IX_SitePerson_Person] ON [dbo].[SitePerson_Person]
(
[ProjectId] ASC,
[UnitId] ASC,
[IsUsed] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO