sp_executesql:在存储过程中执行动态拼写的SqL语句
exec sp_executesql @s
sp_helptext : 显示存储过程的代码
exec sp_helptext 'yaf_Topic_list'
sp_executesql:在存储过程中执行动态拼写的SqL语句
exec sp_executesql @s
sp_helptext : 显示存储过程的代码
exec sp_helptext 'yaf_Topic_list'
转载于:https://www.cnblogs.com/Elong/archive/2005/04/19/140635.html