
IF NOT EXISTS ( SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME= 'EST_PED_VD_IT_TRILHO_AUDIT' AND COLUMN_NAME = 'CD_MAQ' )
BEGIN 
	ALTER TABLE EST_PED_VD_IT_TRILHO_AUDIT ADD CD_MAQ VARCHAR(10) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS
END 