IF NOT EXISTS (SELECT 1 FROM SYS.COLUMNS WHERE OBJECT_ID = OBJECT_ID(N'DBO.RC_MDL_VENDA') AND NAME = 'NUM_MAX_PARC_EXTRA')
BEGIN
	ALTER TABLE DBO.RC_MDL_VENDA ADD NUM_MAX_PARC_EXTRA INTEGER NOT NULL DEFAULT 0;
END
GO