2023-01-04升级

This commit is contained in:
2023-01-04 10:30:49 +08:00
parent 8ef4bc1502
commit f64ae2efd4
6 changed files with 159 additions and 1 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