In this blog post, let’s learn about the error message “46916 – Queries that reference external tables are not supported by the legacy cardinality estimation framework. Ensure that trace flag 9481 is not enabled, the database compatibility level is at least 120 and the legacy cardinality estimator is not explicitly enabled through a database scoped configuration setting.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
46916 – Queries that reference external tables are not supported by the legacy cardinality estimation framework. Ensure that trace flag 9481 is not enabled, the database compatibility level is at least 120 and the legacy cardinality estimator is not explicitly enabled through a database scoped configuration setting.
Reason for the Error
To be update soon…
Solution
To be update soon…