首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

请教哪位知道sp_prepexec存储过程是干吗用的。 帮助里找不到啊

2011-12-25 
请问哪位知道sp_prepexec存储过程是干吗用的。 帮助里找不到啊!请问哪位知道sp_prepexec存储过程是干吗用的

请问哪位知道sp_prepexec存储过程是干吗用的。 帮助里找不到啊!
请问哪位知道sp_prepexec存储过程是干吗用的。   帮助里找不到啊!

在查询数据库时发现这个存储过程,帮助里看不懂是干吗用的.麻烦大家了.

[解决办法]
When you use EXEC statement, behind the scenes, three system internal stored procedures: sp_prepexec, sp_execute, and sp_unprepare are called

From the name, you can tell that sp_prepexec is used to prepare dynamic SQL on the server, which speeds up subsequent executions of the same statement

----------------------------
当使用EXEC,后台有三个永久的存储过程(sp_prepexec, sp_execute,sp_unprepare)被调用。

从名字上可以看出,sp_prepexec 被用来在服务器上作为动态SQL运行的准备工作,它可以加速相同语句的并发执行。

热点排行