IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'recibo') AND COL_LENGTH('[dbo].[recibo]', 'tipopagamento') IS NULL
BEGIN
 ALTER TABLE [dbo].[recibo] ADD tipopagamento VARCHAR(250) NULL;
END
