I suspect this is because the data from the view is not the same as the data that you get when you join the tables. You can test it by doing the following.
1. Check if the number of records returned are the same:SELECT COUNT(*)
FROM #EOTFTable t1
JOIN #PrimProvSpecOtheTable t2 ON t1.keyID = t2.keyID;
SELECT COUNT(*) FROM vw_TEST_EOTF;
2. If they are (or even if they are not), check the differences:------------------------------------------------------------
SELECT t1.keyID,t1.clm_id1,t1.clm_tchg
FROM #EOTFTable t1
JOIN #PrimProvSpecOtheTable t2 ON t1.keyID = t2.keyID
EXCEPT
SELECT keyID,clm_id1,clm_tchg FROM vw_TEST_EOTF;
-----------------------------------------------------------
SELECT keyID,clm_id1,clm_tchg FROM vw_TEST_EOTF
EXCEPT
SELECT t1.keyID,t1.clm_id1,t1.clm_tchg
FROM #EOTFTable t1
JOIN #PrimProvSpecOtheTable t2 ON t1.keyID = t2.keyID
------------------------------------------------------------