CREATE PROCEDURE test @tablename varchar(20) AS exec('select * from'+ @tablename) GO 注意: 一定要在from后面留空格
@str1+@str2就可以了啊
合并之后再储存不就好了