ALTER TABLE FinPagoDetalle DROP CONSTRAINT DF_FinPagoDetalle_NUMDOCTO;

ALTER TABLE FinPagoDetalle
ALTER COLUMN NUMDOCTO BIGINT NOT NULL;

ALTER TABLE FinPagoDetalle
ADD CONSTRAINT DF_FinPagoDetalle_NUMDOCTO DEFAULT (0) FOR NUMDOCTO;