IF NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='GLB_SCHEDULE_JOB' AND COLUMN_NAME='CD_CTR_ARQUIVO')
BEGIN
ALTER TABLE dbo.GLB_SCHEDULE_JOB ADD
	CD_CTR_ARQUIVO int NULL

ALTER TABLE dbo.GLB_SCHEDULE_JOB ADD CONSTRAINT
	DF_GLB_SCHEDULE_JOB_CD_CTR_ARQUIVO DEFAULT 0 FOR CD_CTR_ARQUIVO
END