if NOT EXISTS(select 1 from syscolumns where id = object_id('PRC_FILIAL') and name = 'FLAG_CHECKIN_ENTRADA_VOLUME')
begin
ALTER TABLE dbo.PRC_FILIAL ADD
	FLAG_CHECKIN_ENTRADA_VOLUME int NOT NULL CONSTRAINT DF_PRC_FILIAL_FLAG_CHECKIN_ENTRADA_VOLUME DEFAULT 0
end