【转】使用sp_executesql执行动态SQL语句,同时向里面传入参数。

代码
原文地址:https://www.cnblogs.com/gebenhagen/p/1614325.html