SQL Server Error Msg 41378 – Both @database_id and @xtp_object_id should be specified to enable or retrieve status of query level statistics collection for a procedure.

In this blog post, let’s learn about the error message “41378 – Both @database_id and @xtp_object_id should be specified to enable or retrieve status of query level statistics collection for a procedure.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

41378 – Both @database_id and @xtp_object_id should be specified to enable or retrieve status of query level statistics collection for a procedure.

Reason for the Error

To be update soon…

Solution

To be update soon…