?create?procedure?p
?????(in?v_a?int?,in?v_b?int?,out?v_c?int)
?????begin
?????if?v_a>v_b?then
?????v_a?into?v_c;
?????else
??v_b?into?v_c;
?????end?if;
?????end;
?????//
请问这个存储过程为什么错了,没有一点头绪,就是取出最大值,另外如果一个参数既做输出又做输入该怎么定义呢?
?create?procedure?p
?????(in?v_a?int?,in?v_b?int?,out?v_c?int?,in?out?v_d)
这样可以吗??
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…