SQL 使用in方法传参的问题

例如:update Table set column="" where id in (@id)

这样的带in方法的传参方式,传统将不能正常执行

修改:exec('update Table set column="" where id in ('+@id+')')

必须修改成函数调用方式

原文地址:https://www.cnblogs.com/huanglexian/p/3619276.html