This commit is contained in:
parent
46efe986a8
commit
df43604d24
|
@ -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
|
Loading…
Reference in New Issue