存储过程中为变量赋值的多种方式 1.select name from student where id=2 into @x; select @x; //Nacy 2.select ‘Lucy’ into @x; select @x; //Lucy 3.set @x=‘Lucy’; select @x; //Lucy