添加
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user