set @id = select top 1 r_busname from #tmp1  
set @line=select top 1 r_line from #tmp1
SQL里不可以把查询语句直接赋给变量?请教各位大大,用其他方法怎么实现上面语句?