Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
启用捕获查询优化程序最近使用的计划。
{ dbeng12 | dbsrv12 } -zp ...
所有操作系统和数据库服务器。
如果希望数据库服务器存储每个连接最近所使用的查询执行计划,则请包括此选项。也可使用通过 sa_server_option 系统过程设置的 RememberLastPlan 服务器设置启用此项功能。可使用 LastPlanText 连接属性查看最近使用的计划的文本。