2011-02-18 2 views

답변

3
delimiter // 

create procedure sample (in id int, out MyCount int) 
begin 
    select count(*) into MyCount 
     from YourTable 
     where YourKey = id; 
end// 
관련 문제