IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'CNAE' AND OBJECT_ID = OBJECT_ID('PRC_FILIAL'))
BEGIN
	ALTER TABLE PRC_FILIAL ADD CNAE VARCHAR(100) NOT NULL CONSTRAINT DF_PRC_FILIAL_CNAE DEFAULT ''
END
