SQL Server Error Msg 10138 – Cannot create %S_MSG on view ‘%.*ls’ because its select list does not include a proper use of COUNT_BIG. Consider adding COUNT_BIG(*) to select list.

In this blog post, let’s learn about the error message “10138 – Cannot create %S_MSG on view ‘%.*ls’ because its select list does not include a proper use of COUNT_BIG. Consider adding COUNT_BIG(*) to select list.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

10138 – Cannot create %S_MSG on view ‘%.*ls’ because its select list does not include a proper use of COUNT_BIG. Consider adding COUNT_BIG(*) to select list.

Reason for the Error

To be update soon…

Solution

To be update soon…