题目详情
简答题 以下基于petstore数据库的存储过程proc_check_account_security实现的业务需求是用户安全监测逻辑. SQldelimiter // create procedure proc_check_account_security( )begin -- 弱密码检测 insert into security_report(userid, issue) select userid, '弱密码:长度不足或缺乏字母!' from account where length(password) < 8 and password not regexp '[A-Za-z]'; -- 监测未绑定邮箱 insert into security_report(userid, issue) select userid, '邮箱未绑定!' from account where email is null;end // delimiter ; 如何调用存储过程生成安全报告? 用户u0003的密码为'123456',会触发哪种问题

学科:数据库技术
时间:2025-07-07 07:55:26
