This commit is contained in:
汪青 2024-05-20 02:23:50 +08:00
parent 46efe986a8
commit df43604d24
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'Control_PointCropping' AND COLUMN_NAME = 'States')
BEGIN
ALTER TABLE Control_PointCropping DROP COLUMN States;
END
go
alter table Control_PointCropping add States int null
go
update Control_PointCropping set States=0
go