随笔分类 - MySQL PLSQL 语法
摘要:WHILE DO FOR LOOP
阅读全文
摘要:drop 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 ...
阅读全文
摘要:drop procedure if exists p_hello_world;create procedure p_hello_world()begin declare v_number int; declare v_varchar varchar(32); set v_number = 1; se
阅读全文
摘要:drop procedure if exists p_hello_world; create procedure p_hello_world() begin select sysdate(); end; call p_hello_world(); drop procedure if exists p_hello_world; create procedure p_hel...
阅读全文