mysql
Forrest_Gumps
路漫漫其修远兮,吾将上下而求索
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hibernate执行mysql函数或者存储过程错误定义名称
hibernate执行mysql函数或者存储过程错误定义名称 org.hibernate.exception.GenericJDBCException: could not execute query The user specified as a definer ('xlw'@'%') does not exist原创 2016-08-19 17:27:54 · 492 阅读 · 0 评论 -
创建存储过程更新表字段
CREATE PROCEDURE updateStudent(IN intime varchar(20)) BEGIN DECLARE stuid int; DECLARE syear int; DECLARE b int default 0; #终止循环 declare cur cursor for select tid,student_year from ta原创 2016-10-23 17:52:01 · 1202 阅读 · 1 评论 -
mysql定时器执行存储过程
SET GLOBAL event_scheduler = 1; -- 启动定时器 SET GLOBAL event_scheduler = 0; -- 停止定时器 show variables like '%sche%'; create event if not exists eventJob on schedule every 15 secon原创 2016-10-23 18:19:49 · 449 阅读 · 0 评论
分享