一个存储过程代码:
参数:
IN uid int;
OUT bgcount int;
存储过程名称:userproc,代码:
select count(*) into bgcount from userdata where Uid =uid;调用 call userproc(1,@a);
select @a;跟一段SQL:
select count(*) into @bgcount from userdata where Uid =1;
select @bgcount;执行的结果不一样  你们遇到过吗 同样的代码  同样的参数  就是执行结果不一样 什么情况啊