In this blog post, let’s learn about the error message “8682 – SELECT via cursor failed because in XML plan provided to USE PLAN hint, neither Populate nor Fetch plans are provided, and at least one must be present. For best likelihood of successful plan forcing, use an XML cursor plan captured from SQL Server without modification.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
8682 – SELECT via cursor failed because in XML plan provided to USE PLAN hint, neither Populate nor Fetch plans are provided, and at least one must be present. For best likelihood of successful plan forcing, use an XML cursor plan captured from SQL Server without modification.
Reason for the Error
To be update soon…
Solution
To be update soon…