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
posted @ 2020-11-09 13:12
posted @ 2020-09-05 11:37
posted @ 2019-12-29 13:52
posted @ 2019-01-15 18:51
posted @ 2018-12-09 18:57
posted @ 2018-11-09 20:48
posted @ 2018-10-28 08:15