2020年11月9日

mysql存储过程赋值

摘要: -- 方式 1 DECLARE cnt INT DEFAULT 0; select count(*) into cnt from test_tbl; select cnt; -- 方式 2 set @cnt = (select count(*) from test_tbl); select @cnt 阅读全文

posted @ 2020-11-09 13:12 zad27 阅读(745) 评论(0) 推荐(0)

导航