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:
-
Cumulative Update 13 for SQL Server 2014
-
Cumulative Update 6 for SQL Server 2014 Service Pack 1 (SP1)
-
Cumulative Update 11 for SQL Server 2012 Service Pack 2 (SP2)
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.