IF NOT EXISTS(SELECT 1 FROM syscolumns WHERE ID = OBJECT_ID('CTB_EXP_MOV') AND NAME = 'CD_FILIAL_EXPORT ')
begin
ALTER TABLE dbo.CTB_EXP_MOV ADD
	CD_FILIAL_EXPORT INT NOT NULL CONSTRAINT DF_CTB_EXP_MOV_CD_FILIAL_EXPORT DEFAULT (0)
end