declare @name varchar(20)
set @name = 'stuInfo'
select *from @name

如何让这个查询语句生效 或者说 
如何在查询表名时用自己定义的变量,
这个问题怎么解决?