mysql存储过程随记

mysql 默认递归层数为0 所以设计到递归要

把一些资源整理在这里方便以后使用:

三种循环 http://www.cnblogs.com/zfying/archive/2011/11/30/2268820.html

mysql中的临时表不能同时被两次打开,也就是cann't reopen,参看http://www.2cto.com/database/201206/135895.html

MySQL procedure 与 function 的区别   http://www.cnblogs.com/cy163/archive/2008/10/15/1311969.html

mysql中存储过程 中没有==,  set i=0;指给i赋值   i=0 判断i是否为0

mysql存储过程可以相互调用,call即可

mysql存储过程的介绍 http://www.2cto.com/database/201208/149282.html

在hibernate中session.createSqlQuery("{call xxxxx(xxx,xxx)}") 可以调用存储过程



你可能感兴趣的:(mysql存储过程随记)