SQL Server Error Msg User-defined %S_MSG ‘%.*ls’ in tempdb cannot be referenced from local temp table ‘%.*ls’ because the temp table is being created in a contained database. Please consult the Books Online topic Understanding Contained Databases for more information on contained databases. – 16

In this blog post, let’s learn about the error message “User-defined %S_MSG ‘%.*ls’ in tempdb cannot be referenced from local temp table ‘%.*ls’ because the temp table is being created in a contained database. Please consult the Books Online topic Understanding Contained Databases for more information on contained databases. – 16” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

User-defined %S_MSG ‘%.*ls’ in tempdb cannot be referenced from local temp table ‘%.*ls’ because the temp table is being created in a contained database. Please consult the Books Online topic Understanding Contained Databases for more information on contained databases. – 16

Reason for the Error

To be update soon…

Solution

To be update soon…