FIX: "A severe error occurred on the current command" when a Table-Valued User-Defined function is referred to by a synonym

Symptoms
You create a view that queries data from a Table-Valued User-Defined function in Microsoft SQL Server. If the function is defined in another database that's referred to by a synonym in the query, you may receive the following error message:
Msg 0, Level 11, State 0A severe error occurred on the current command. The results, if any, should be discarded.

Resolution

Cumulative Update information

This issue is fixed in the following updates:
Recommendation: Install the latest cumulative update for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.
Properties

Article ID: 3139489 - Last Review: 07/26/2016 08:46:00 - Revision: 7.0

Microsoft SQL Server 2012 Service Pack 2, Microsoft SQL Server 2014 Service Pack 1, Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB3139489
Feedback