摘要: 在游标循环中,使用使用select into 变量var时,再判断var isnull 或者length(var)=0时,跳出循环。解决方式:使用set var=(select id from table);然后再判断var isnull 或者length(var)=0 阅读全文
posted @ 2014-09-15 21:13 一天不进步,就是退步 阅读(1284) 评论(0) 推荐(0) 编辑
摘要: redis提供了rate limit demo 如下所示:INCRkeyAvailable since 1.0.0.Time complexity:O(1)Increments the number stored atkeyby one. If the key does not exist, it ... 阅读全文
posted @ 2014-09-15 09:57 一天不进步,就是退步 阅读(2721) 评论(0) 推荐(0) 编辑