Delimiter // —-标识符
create procedure testone()
begin
DECLARE I INT DEFAULT 0; --定义int变量i的起始值为0
DECLARE test_no VARCHRA(50);--定义变量的类型及长度
while i<5 do --定义后while do
mysql基于while do语法编写存储过程
最新推荐文章于 2023-03-07 11:08:01 发布
Delimiter // —-标识符
create procedure testone()
begin
DECLARE I INT DEFAULT 0; --定义int变量i的起始值为0
DECLARE test_no VARCHRA(50);--定义变量的类型及长度
while i<5 do --定义后while do