ALTER TABLE dbo.FW_PATROL_TASK ADD CRUISE_TYPE INT;
UPDATE FW_PATROL_TASKSET CRUISE_TYPE = 0; --设置新列的值为0
ALTER TABLE FW_PATROL_TASK ALTER COLUMNCRUISE_TYPE INT NOT NULL;