﻿IF ((SELECT DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'clitelefone' AND COLUMN_NAME = 'TIPO') = 'numeric')
BEGIN
ALTER TABLE [dbo].[clitelefone] ALTER COLUMN TIPO INT;
END