IF NOT EXISTS (SELECT * FROM  SYS.COLUMNS  WHERE NAME = 'HR_TRANSACAO' AND OBJECT_NAME(OBJECT_ID) = 'PDV_VD_TEF')  
begin
	ALTER TABLE PDV_VD_TEF ADD HR_TRANSACAO VARCHAR(6) COLLATE SQL_Latin1_General_CP1_CI_AS
end