declare @of_file111 varchar(255)
....
set @sql='select of_file from hl_map_tl_p3_'+@sub+' where auto_id='''+@au_id1111+''''
exec(@sql)
怎样才能把@sql执行后得到的值赋给变量@of_file111?(以上语句都是写在一个存储过程里的)