当前位置:Gxlcms > 数据库问题 > MySQL PLSQL Demo - 005.IF THEN ELSEIF THEN ELSE END IF

MySQL PLSQL Demo - 005.IF THEN ELSEIF THEN ELSE END IF

时间:2021-07-01 10:21:17 帮助过:2人阅读

procedure if exists p_hello_world; create procedure p_hello_world(in v_id int) begin if (v_id > 0) then select > 0; elseif (v_id = 0) then select = 0; else select < 0; end if; end; call p_hello_world(-9);

 

MySQL PLSQL Demo - 005.IF THEN ELSEIF THEN ELSE END IF

标签:

人气教程排行