这样写可否?declare @table_aa varchar(20) select @table_aa = 'aa ' select * from @table_aa[解决办法]使用动态sql exec( 'select * from '+@table_aa)[解决办法]一楼正解