SQL Server Error Msg 40504 – Switching Databases is not supported.  Use a new connection to connect to a different Database.

In this blog post, let’s learn about the error message “40504 – Switching Databases is not supported.  Use a new connection to connect to a different Database.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

40504 – Switching Databases is not supported.  Use a new connection to connect to a different Database.

Reason for the Error

To be update soon…

Solution

To be update soon…