Hi swara123,
Have these particular projects always been managed using only MSP 2013?
If they were previously managed in an older version of MSP, I am thinking you may need to delete the project record from the prdocument table. (The baseline table can remain as it is. )
We've seen issues like this with baseline projects being managed in MSP 2013 and older version of MSP at the same time. Or also, when opening a project in MSP2013 for the first time after it had only been managed in a different version of MSP also.
When you delete the record from the prdocument table, the project association to the older version of MSP will be deleted as well.
Here's the query to delete from this table.
delete from prdocument where prrecordid = 5******
where 5****** is the 5 million internal ID of the project.
The only bad thing here would be that the views on this particular project in MSP will be wiped out, and will need to be rebuilt.
Regards,
Maria