SQL Server Error Msg 45031 – The USE FEDERATION statement is not supported on a connection which has multiple active result sets (MARS) enabled.

In this blog post, let’s learn about the error message “45031 – The USE FEDERATION statement is not supported on a connection which has multiple active result sets (MARS) enabled.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

45031 – The USE FEDERATION statement is not supported on a connection which has multiple active result sets (MARS) enabled.

Reason for the Error

To be update soon…

Solution

To be update soon…