IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'NR_COMPROVANTE' AND OBJECT_ID = OBJECT_ID('PDV_RECBTO_TEF'))
BEGIN
	ALTER TABLE [DBO].[PDV_RECBTO_TEF] ADD
	NR_COMPROVANTE VARCHAR(50) NULL

	ALTER TABLE [DBO].[PDV_RECBTO_TEF] ADD CONSTRAINT
	DF_PDV_RECBTO_TEF_NR_COMPROVANTE DEFAULT '' FOR NR_COMPROVANTE
END