https://support.microsoft.com/en-us/topic/kb3138319-fix-numeric-overflow-when-you-run-a-query-that-spills-more-than-65-535-extents-to-tempdb-in-sql-server-2014-or-2012-d1acac90-c894-e1ae-4dca-1ee55029c52a
Fixes an issue that occurs when you execute a query that spills more than 65,535 extents to tempdb in SQL Server 2014 or 2012.
numeric overflowfixrunquery