SQL Server Error Msg 10728 – A nested INSERT, UPDATE, DELETE, or MERGE statement is not allowed as the table source of a PIVOT or UNPIVOT operator.

In this blog post, let’s learn about the error message “10728 – A nested INSERT, UPDATE, DELETE, or MERGE statement is not allowed as the table source of a PIVOT or UNPIVOT operator.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

10728 – A nested INSERT, UPDATE, DELETE, or MERGE statement is not allowed as the table source of a PIVOT or UNPIVOT operator.

Reason for the Error

To be update soon…

Solution

To be update soon…