摘要: 原文出处:http://www.cnblogs.com/wanyuan8/archive/2011/11/09/2243483.html简写为exec,除了用来执行存储过程,一般都用来执行动态Sqlsp_executesql,sql2005中引入的新的系统存储过程,也是用来处理动态sql的,如: exec sp_executesql @sql, N'@count int out,@id varchar(20)', @cou out ,@id @sql为拼成的动态sql N'@count int out,@id varchar(20)'为拼成的动态sql内的参数列 阅读全文
posted @ 2012-08-02 11:41 cascorp 阅读(161) 评论(1) 推荐(0) 编辑