begin tran
create table TSYSB_USER(test varchar(20))
insert into TSYSB_USERvalues('TESTUSER')
declare @www varchar(20)set @www='TSYSB_USER'
declare @mysql varchar(255)set @mysql='select * from '+@www
select * from TSYSB_USER
exec(@mysql)
rollback tran
ok! 太谢谢了