- 博客(1)
- 收藏
- 关注
原创 mysql存储过程,从一个表中取数据插入到另一个表中
随笔记录需求为:需要初始化表user_authority,从user表中读取user_name字段,并根据role_type对user_authority表中的authority字段进行赋值drop procedure if exists init_user_authority_proc;create procedure init_user_authority_proc()begin declare var1 varchar(128); declare flag int defa...
2021-10-09 16:34:53
797
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人