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:

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.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.