IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'TitularesVida') AND COL_LENGTH('[dbo].[TitularesVida]', 'Cpf') IS  NOT NULL
BEGIN
  ALTER TABLE [dbo].[TitularesVida] ALTER COLUMN Cpf VARCHAR(255) NULL;
END