我写一个存储过程
定义变量v1,v2
想把从表t中查出的id和name放到这两个变量中
select t.id into v1,t.name into v2 from t where id='1';
但是这样写运行不了,不知道怎么做,请大家帮忙