what is the equivalent of EXPLAIN form SQLite in SQL Server?

前端 未结 2 1470
半阙折子戏
半阙折子戏 2021-01-12 21:43

I used an SQLite database and run an EXPLAIN statement before executing the actual query to verify if there was any attempt to write on the database.

Now, we have mi

2条回答
  •  生来不讨喜
    2021-01-12 22:29

    You can see the estimated query plan of any query in SSMS by clicking the estimated query plan button.

    See MSDN.


    However, if the user shouldn't be writing to the database, is shouldn't have the permissions to do so. Ensure it belongs to a role that has restricted permissions.

提交回复
热议问题