IF NOT EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'PDV_VD' AND COLUMN_NAME = 'BONUS_ID_RETORNO_CRM_BONUS')
BEGIN
	ALTER TABLE PDV_VD ADD BONUS_ID_RETORNO_CRM_BONUS varchar(MAX) DEFAULT '' COLLATE  SQL_LATIN1_GENERAL_CP1_CI_AS
END;